Way to Modify Moodle Quiz Attempt Page Css.

Way to Modify Moodle Quiz Attempt Page Css.

από Sparsh Saxena -
Αριθμός απαντήσεων: 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

Μέσος όρος βαθμολογίας: -
Σε απάντηση σε Sparsh Saxena

Re: Way to Modify Moodle Quiz Attempt Page Css.

από Emma Richardson -
Φωτογραφία Documentation writers Φωτογραφία Particularly helpful Moodlers Φωτογραφία Plugin developers

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

Σε απάντηση σε Emma Richardson

Re: Way to Modify Moodle Quiz Attempt Page Css.

από Sparsh Saxena -
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??.

Σε απάντηση σε Sparsh Saxena

Re: Way to Modify Moodle Quiz Attempt Page Css.

από tamil selvi -

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?

Σε απάντηση σε tamil selvi

Re: Way to Modify Moodle Quiz Attempt Page Css.

από Sparsh Saxena -

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.