Support » Plugin: SyntaxHighlighter Evolved » [Plugin: SyntaxHighlighter Evolved] V2 vs V3 styling – Zebra Stripes

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    i had the same ‘problem’;

    it is these lines in the /syntaxhighlighter3/styles/shTheme??????.css files:

    .syntaxhighlighter {
      background-color: #0a2b1d !important;
    }
    .syntaxhighlighter .line.alt1 {
      background-color: #0a2b1d !important;
    }
    .syntaxhighlighter .line.alt2 {
      background-color: #0a2b1d !important;
    }

    they obviously have all the same bg-color (color various between the files)
    for the time being, you could edit the plugin files;
    or as i did, add the same lines with differentiated bg-colors into style.css of your theme, to overwrite the plugin styles.

    I admit I didnt even look, but I assumed the line wrapping was the problem with the zebra stripes. If a line of code wraps it shouldn’t change color but then that needs to be coordinated with the line number which in V3 is separate. I’ll look later, if it’s just CSS that’d be great, bit I suspect there is more to it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SyntaxHighlighter Evolved] V2 vs V3 styling – Zebra Stripes’ is closed to new replies.