Fixing SyntaxHighlighter Evolved Font Size

2015-07-22 11:18:40 -0400

SyntaxHighlighter Evolved is currently the plugin I use for syntax highlighting on this site. It uses the default text size for code blocks, which doesn't look great since code is in a fixed-width font. To fix that, add a class to the code blocks called code-blk in Settings > SyntaxHighlighter. Then modify your theme's CSS (or use the Wordpress Jetpack Custom CSS feature) to add CSS like this:

.code-blk {
   font-size: 10pt !important;

Thanks to this post for the inspiration.