How do I change syntax highlighting CSS to a blog hosted on WordPress.com?

Posted by Emilio on Stack Overflow See other posts from Stack Overflow or by Emilio
Published on 2010-06-17T13:19:12Z Indexed on 2010/06/17 13:23 UTC
Read the original article Hit count: 256

I've a blog hosted on WordPress.com, and i've buyed the "Custom CSS" update to modify CSS. Now I want to change some CSS options of Syntax Highlighting provided by Wordpress.com. For example, i want that

   [code lang="C"] int main() { } [/code] 

will be displayed with a black background instead of standard white one. I've added in Wordpress.com Appareance > Modify CSS the following code:

 .syntaxhighlighter
 {
    background-color: black !important;
 }

As explained here, but it doesn't works. Any idea?

© Stack Overflow or respective owner

Related posts about css

Related posts about syntax-highlighting