Way to Modify Moodle Quiz Attempt Page Css.

Way to Modify Moodle Quiz Attempt Page Css.

Sparsh Saxenadən -
Number of replies: 6

Hi,

I am Launching moodle Quiz in an Pop up from my application for the student to give Test.

But i don't want to show the Header , Footer, Block On the quiz attempt Page.

How can i achieve this .

Is there any Plugins ??

Thanks

Orta qiymət: -
In reply to Sparsh Saxena

Re: Way to Modify Moodle Quiz Attempt Page Css.

Emma Richardsondən -
Documentation writers istifadəçinin şəkili Particularly helpful Moodlers istifadəçinin şəkili Plugin developers istifadəçinin şəkili

There is an option to not show the blocks in the settings.  You could maybe use css to hide header and footer.

In reply to Emma Richardson

Re: Way to Modify Moodle Quiz Attempt Page Css.

Sparsh Saxenadən -
Thanks Emma for the reply


I don't want to make the changes on Existing CSS file.

Is there any possibility to add some custom CSS from my Plugin just for the Quiz Page??.

In reply to Sparsh Saxena

Re: Way to Modify Moodle Quiz Attempt Page Css.

tamil selvidən -

hi Sparsh Saxena, I'm new to moodle........... can u tell me how could u hide the header and footer in  quiz page? can u explain me?

In reply to tamil selvi

Re: Way to Modify Moodle Quiz Attempt Page Css.

Sparsh Saxenadən -

Hello tamil selvi,

For hiding header and footer from quiz page you need to read ltiprovider code there you will find the logic for hiding the header and footer.

Simple download ltiprovider Plugin and have a look on lib.php there is a section  

// Custom CSS.

you need to use this approach.