[resolved] remove alternativ background lines (6 posts)

  1. Pospiech
    Posted 2 years 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.


  2. Javier Seixas
    Posted 2 years ago #

    Probably what is explained in the Styled Guidelines will help you:

  3. Rico Leuthold
    Posted 2 years 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
    Posted 2 years 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
    Posted 2 years 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
    Posted 2 years 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

  • WP-Syntax
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic