increasing font dimension

increasing font dimension

by luciano biondo -
Number of replies: 1
Moodle 3 - Theme: More
There is an easy way to increase the dimension of ALL fonts, making them about 15% bigger?
Average of ratings: -
In reply to luciano biondo

Re: increasing font dimension

by Mary Evans -

What would be your idea font size for the main content? For accessibility 16px is/ or has been recommended by some to be the best.

However if you add the following to More/less/moodle.less file:

@baseFontSize:  16px;
body {
font-size: @baseFontSize;
    font-weight: normal;
    font-style: normal;
}

You will need to Purge all cache after making these changes

After which you will see an increase in font size throughout your Moodle site.

Then if you need to alter some elements' font sizes, you should be able to adjust those by adding the CSS and stating the font-size as a percentage into the Custom CSS text area in the More theme settings page.

Ciao

Mary