Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SyntaxHighlighter: How to remove the lime-colored question mark or at least change its color?

Well, the green question mark does not go with my website color scheme. How do I change/remove it? You can see it here: http://alexgorbatchev.com/SyntaxHighlighter/manual/installation.html

Thanks!

like image 276
chrisapotek Avatar asked Oct 31 '11 05:10

chrisapotek


4 Answers

If you are facing this issue for your Google Blogger, it means you have already added SyntaxHighlighter libraries in your template.

So go to Template in your Blogger. Then click on Edit HTML and search for the line:

SyntaxHighlighter.all();

Add the below line before that line:

SyntaxHighlighter.defaults['toolbar'] = false; 

This will disable your lime-colored question mark in Blogger.

like image 67
Pramod Kishore Avatar answered Oct 15 '22 21:10

Pramod Kishore


SyntaxHighlighter.defaults.toolbar = false;
like image 25
Fred Yang Avatar answered Nov 14 '22 14:11

Fred Yang


In your shThemeDefault.css you can find the following code:

.syntaxhighlighter .toolbar {
    background: none repeat scroll 0 0 #6CE26C !important;
    border: medium none !important;
    color: white !important;
}

Above CSS difines to display green color '?' mark in you website.So, if you want to hide that then specify display : none in above code.If you need to change the background color you can specify you desired color in background property.

like image 10
Kiran Avatar answered Nov 14 '22 14:11

Kiran


For version 3.0.x

SyntaxHighlighter.defaults['toolbar'] = false;
like image 3
Dmitry Trifonov Avatar answered Nov 14 '22 13:11

Dmitry Trifonov