wordpresssyntaxhighlighter

Wordpress hueman theme with crayon syntax highlighting


We use the hueman theme and the crayon syntaxhighlighter at our company blog. However we have a problem with the style of the code blocks.

For example: A blogpost at our blog

At every second code block the css stylesheet seems corrupt. The striped lines have the wrong background color and are white instead of grey. When I turn of the striped line feature, every second code block is white.

Anyone know this issue? I search for several hours but I wasn't able to fix it.


Solution

  • Fixed it. Had ".entry table tr.alt" in my css which override the default crayon syntaxhighlighting style

    Added:

    .entry tr.crayon-row.alt {
      background-color: transparent;
    }
    

    and now it works as expected :)