Skip to main content
Jun 03, 2013

SyntaxHighlighter is an open source Java Script client side code syntax higlighter developed by Alex Gorbatchev (http://alexgorbatchev.com/)

Its lime green question mark info icon can make code visibility issue and maybe it's better to remove it sometime.

Configuration files doesn't have options for removing the icon, so we need to remove it by changing SyntaxHighligher's CSS files.

SyntaxHighligher contains a file shThemeDefault.css. There you can find the code from below:

.syntaxhighlighter .toolbar {
    color: white !important;
    background: #6ce26c !important;
    border: none !important;
}

In order to hide question mark icon it is enough to add display: none; line to the CSS class and it could could look like:

.syntaxhighlighter .toolbar {
    /*color: white !important;
    background: #6ce26c !important;
    border: none !important;*/
    display: none;
}

If you want to change background color of the question mark icon change the background tag and set any other color property.