Support » Plugin: WP-Syntax » remove alternativ background lines

  • Resolved Pospiech

    (@pospiech)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Probably what is explained in the Styled Guidelines will help you:
    http://wordpress.org/extend/plugins/wp-syntax/other_notes/

    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!

    mondalaci

    (@mondalaci)

    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!

    mondalaci

    (@mondalaci)

    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.

    David C

    (@dcowgill)

    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; }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘remove alternativ background lines’ is closed to new replies.