How to change the font size of SyntaxHighlighter

I’ve just installed SyntaxHighlighter on this blog to style the code snippets. The default font-size was too large for the website. They don’t seem to have any documention or setting to adjust the font-size. The solution is to add some custom css to your theme style:

body .syntaxhighlighter code, body .syntaxhighlighter .gutter {
    font-size: 12px!important;
}

Leave a Reply