WordPress.org

Ready to get started?Download WordPress

Forums

WP-Syntax
[resolved] remove alternativ background lines (6 posts)

  1. Pospiech
    Member
    Posted 1 year ago #

    The new version 1.0 introduced alternative background lines which makes the code almost unreadable on my screens. I find it very distracting and therefore would like to know how to remove this new feature. However I do not want to edit the code directly. It would mean to loose such changes with the next update.

    http://wordpress.org/extend/plugins/wp-syntax/

  2. Javier Seixas
    Member
    Posted 1 year ago #

    Probably what is explained in the Styled Guidelines will help you:
    http://wordpress.org/extend/plugins/wp-syntax/other_notes/

  3. Rico Leuthold
    Member
    Posted 1 year ago #

    I have the same problem, but can't find a solution - neither in the CSS nor in the GeSHi configuration.

    Could you give me a bit of help here.

    Not to forget - your plugin is awesome!

  4. mondalaci
    Member
    Posted 1 year ago #

    I'd also LOVE to know how alternating row colors are implemented because I cannot find anything in the CSS that could explain it.

    Also, I think this abomination should be eradicated as it really makes the code hard to read!

  5. mondalaci
    Member
    Posted 1 year ago #

    Ah, it's implemented using linear gradients. One can remove the background-color and background-image properties from the ".wp_syntax td.code" selector to make this pain go away.

  6. David C
    Member
    Posted 1 year ago #

    Instead of modifying the plugin code, just override it in your theme's style.css. Change the background color to whatever you prefer.

    .wp_syntax pre { background:#FCFCFC !important; }
    .wp_syntax td.code { background-image:none; background-color:none; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic