How to change the default font style in Moodle quiz

How to change the default font style in Moodle quiz

by Orlando Acevedo -
Number of replies: 1

Dear colleagues,

I need your help!

I imported questions (multiple choice, missing word, true/false, description, matching) into the Moodle quiz using the GIFT format. The text of the questions and answers were not in the correct format (font color, size, etc.). As you will see in the attached image, I formatted the Information (description) using the text editor. The question and possible answers are not formatted, but I can. The font attributes are as follows:

  • font-family Tahoma
  • font-size 4 (14pt)
  • font-color black
  1. Is there a CSS that allows me to change by default the font attributes of the questions and answers of all the quizzes instead of having to do it manually in each of them?
  2. I cannot format the default text that Moodle places with the instructions for the participant to "Select one" which I circled in red. I would like the font of that text to have the same attributes. How can I do it?
The Moodle version is 3.8.2 (Build: 20200309)
The Lambda theme version is 1.98.4 (2020012338)

I really appreciate the help you can provide.

Blessings!


Attachment Quiz.jpg
Average of ratings: -
In reply to Orlando Acevedo

Re: How to change the default font style in Moodle quiz

by Orlando Acevedo -
I found the answer to question #1:

.que.multichoice .qtext{color: #000000; font-family: Tahoma;}
.que.multichoice .answer{color: #000000; font-family: Tahoma;}
.que.truefalse .qtext {color: #000000; font-family: Tahoma;}
.que.truefalse .answer {color: #000000; font-family: Tahoma;}
.que.match .answer{color: #000000;}
.que.match .qtext{color: #000000;}
.que.description .qtext{color: #000000; font-family: Tahoma;}
Average of ratings: Useful (1)