Remove Additional HTML Within Head from "Grade" Page

Remove Additional HTML Within Head from "Grade" Page

by Schwann Chan -
Number of replies: 3

Hi~

I would like to remove the Additional HTML within Head from the "Grade" page in Moodle because of overlay. 

 Overlay


Here is the Additional HTML code:

Additional HTML

Using Moodle 3.2+ Eguru Theme


I added the code "#page-mod-assign-grader #page-header {display: none;}" to "moodle\theme\eguru\style\eguru.css", but it didn't work. 


Any thoughts? 


Thanks

Schwann

Average of ratings: -
In reply to Schwann Chan

Re: Remove Additional HTML Within Head from "Grade" Page

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

You need to Purge all caches

In reply to Mary Evans

Re: Remove Additional HTML Within Head from "Grade" Page

by Schwann Chan -

Hi Mary,

Thank you for your answering. I have figured it out. Just add "#page-mod-assign-grader img {display: none;}" to "Custom CSS" on "General", the image will disappear on the specific page.

custom css

In reply to Schwann Chan

Re: Remove Additional HTML Within Head from "Grade" Page

by David Scotson -
Hi Schwann, that will make all images on the page disappear. You should add a class name to the img tag you add in the Additional Head HTML, then you can use img.classname to hide only that specific image.