Hello Moodlers,
I need to change the aspect of wether SOME quiz (the complete activity), SOME questions or its propositions : for quiz A, and C : the default theme is ok, but for quiz B, i want to display question differently for instance. The same goes for questions and propositions.
Theming Moodle adds weight (to load extra files) to verbosity of extra code.
Is already there a way to modify a quiz, a question or some proposition without asking the teacher to have any coding skill ?
What i an thinking is : there could just be an text field for the quiz, question or proposition setup where the teacher could add a given class. This is i this the easiest way to add a more granular customization.
With this, the theme designer would have prepared some custom css. The code would not be bloated by extra markup.
For instance :
.thetrigger1 .qtext {margin-left: 2em;}
.thetrigger1 .answernumber {display:none}
etc
.thetrigger2 .qtext {background-color: red;}
.thetrigger2 .answernumber {background-color: orange}
etc
I hope i'm in the right forum : this tackles Quiz, Theme, Usabilty. Don't hesitate to move this if it's not the best choice.