Skip to content

How to change font size? #208

Discussion options

You must be logged in to vote

You can add a font-size style to the html element, e.g. font-size: 14pt;:
https://github.com/greenelab/lab-website-template/blob/main/_styles/body.scss#L11

This should affect all text on your site because the text styles in this template use rem as units, which means relative to the font size of the root element (html).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SakaizaRajery
Comment options

Answer selected by SakaizaRajery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants