How to change font size in Alex Gorbatchev SyntaxHighlighter?

I tried changing the font sizes in Alex Gorbatchev SyntaxHighlighter .css theme files and used font-size in <pre> etc. but nothing happens. Size will not change.

PD : this is the main shCore.css file.

+4
source share
1 answer

There are several places to change the font size in the code example you provided. Since it’s not clear which targeting you are using, start with this:

 .syntaxhighlighter { width: 100% !important; margin: 1em 0 1em 0 !important; position: relative !important; overflow: auto !important; font-size: 2em !important; } 

Sample above changes font-size to 2em

+2
source

All Articles