Hi,
I want to remove the blue block with the text 'Restricted' in a quiz. The text 'not available unless...' should stay visible!
see attachement.
How can I do that?
thanks,
jos
Moodle 3.3
You would have to either change the core code or maybe use a css fix to hide it but it would be a universal action not per quiz.
I just upgraded from Moodle 2.9 to Moodle 3.3. This block wasn't present in Moodle 2.9...
I guess a solution with css or a core change, would be fine for me. I never want it to appear in a quiz.
Question is how?
thanks,
jos
I am going to move this over to the theme forum - I think they could help you better. Do you want to be hidden for every activity as well though?
yes, I never want to see that block. See attachement, this is how it was in Moodle 2.9
this layout is perfect for me.
thanks,
jose
.availabilityinfo.isrestricted .tag-info {
display: none;
}
If you have a custom theme, then you could and this CSS there.
Otherwise, go to Admin -> Appearance -> Additional HTML, and put
in the 'Within HEAD' section.<style type="text/css">
.availabilityinfo.isrestricted .tag-info {
display: none;
}
</style>
Hi Tim,
thanks for your response!
I added the css you stated in my custom theme but that did not do it. But.. with a little adjustment this works:
.availabilityinfo.isrestricted .label-info {
display: none;
}
thanks again!!
Jos