need to change line-height in moodle 2.0.x

Re: need to change line-height in moodle 2.0.x

by Mary Evans -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

To adjust the class selector region-content for any one of these regions you can do it like so...

#page-content #region-main .region-content { line-height: 1.4}

#page-content #region-pre .region-content { line-height: 1.4}

#page-content #region-post .region-content { line-height: 1.4}

Line height is set in #page in the BASE theme, it is also set by default in the body tag automatically from the YUI CSS library in moodle/lib/yui/... but don't go there, as there be dragons! smile

Dependng on your theme you can add this via the Custom CSS Settings page (if there is one) or add this directly to your theme's core.css or whatever the main CSS file is called.

HTH

Mary