{"id":319,"date":"2013-03-13T18:38:39","date_gmt":"2013-03-13T18:38:39","guid":{"rendered":"https:\/\/shan.info\/new\/how-to-remove-info-question-mark-button-in-syntaxhighlighter\/"},"modified":"2013-03-13T18:38:39","modified_gmt":"2013-03-13T18:38:39","slug":"how-to-remove-info-question-mark-button-in-syntaxhighlighter","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/how-to-remove-info-question-mark-button-in-syntaxhighlighter\/","title":{"rendered":"How to Remove Info \/ Question Mark Button in SyntaxHighlighter"},"content":{"rendered":"<p>\n\tSyntaxHighlighter is an open source Java Script client side code syntax higlighter developed by Alex Gorbatchev (http:\/\/alexgorbatchev.com\/)<\/p>\n<p>\n\tIts lime green question mark info icon can make code visibility issue and maybe it&#8217;s better to remove it sometime.<\/p>\n<p>\n\t&nbsp;<\/p>\n<p>\n\tConfiguration files doesn&#8217;t have options for removing the icon, so we need to remove it by changing SyntaxHighligher&#8217;s CSS files.<\/p>\n<p>\n\tSyntaxHighligher contains a file <strong>shThemeDefault.css<\/strong>. There you can find the code from below:<\/p>\n<p>\n\t&nbsp;<\/p>\n<pre class=\"brush:css\">\r\n.syntaxhighlighter .toolbar {\r\n    color: white !important;\r\n    background: #6ce26c !important;\r\n    border: none !important;\r\n}\r\n<\/pre>\n<p>\n\tIn order to hide question mark icon it is enough to add <strong>display: none;<\/strong> line to the CSS class and it could could look like:<\/p>\n<p>\n\t&nbsp;<\/p>\n<pre class=\"brush:css\">\r\n.syntaxhighlighter .toolbar {\r\n    \/*color: white !important;\r\n    background: #6ce26c !important;\r\n    border: none !important;*\/\r\n    display: none;\r\n}\r\n<\/pre>\n<p>\n\tIf you want to change background color of the question mark icon change the background tag and set any other color property.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;s better to remove it sometime. &nbsp; Configuration files doesn&#8217;t have options for removing the icon, so we need to remove it by changing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-joomla"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}