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

  • Resolved 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Probably what is explained in the Styled Guidelines will help you:

    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!



    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!



    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


    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.