Lesson Module CSS

Lesson Module CSS

by Patrick Chonaiew -
Number of replies: 2

I would like to change the font size and text alignment of the questions and answers displayed in the lesson module.  I've toyed with the CSS files but I can't seem to get it to work.  Any input would be greatly appreciated.

Average of ratings: -
In reply to Patrick Chonaiew

Re: Lesson Module CSS

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Patrick,
It's not easy to help you because you don't give many details regarding the changes you actually want to make. Which Moodle version are you using? which theme? which question types are you using?
Anyway, I am attaching an example, based on Moodle 1.6 and the formal white theme.
Adding the following CSS declarations to one of that theme's CSS files enlarges the question text and MCQ choices text, and displays the latter in blue.
#mod-lesson-view td.generalboxcontent,
#mod-lesson-view td.generalboxcontent label{
font-size:1.5em;
}
#mod-lesson-view td.generalboxcontent label{
color:#0000FF;
}


Joseph

Attachment image000.jpg
In reply to Joseph Rézeau

Re: Lesson Module CSS

by Patrick Chonaiew -

Thanks Joseph,

Sorry I didn't provide more info, I'm a newby.  I'm running 1.5.4. with the formal white theme. I would like to increase the font size to something like 14pt or maybe larger and I would like the text alignment to be Left for the Questions, Answers, and Responses.  I hope that helps.  I'll try tweaking the CSS files a little more tonight.