WordPress.org

Forums

Iconic One
[resolved] Formatting pre tag (3 posts)

  1. junglegeek
    Member
    Posted 1 year ago #

    Hi,

    I started using iconic one themes for my blog http://junglebytes.org. I post lot of programming codes in my posts with

    
    

    tags. I want to cutomize the pre tag so that it has a dark background and white text. I updated theme's style.css and could not get it working.

    Anyone has any thoughts on how to do it please?

    Thanks

  2. Themonic
    Member
    Theme Author

    Posted 1 year ago #

    Paste this in custom.css

    .entry-content pre {
        background:#333333;
        color: #FFFFFF;
    }
  3. junglegeek
    Member
    Posted 1 year ago #

    @Themonic
    Worked like charm. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic