3

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.

trollr
  • 1,095
  • 12
  • 27
  • I'm having the same problem, tried adding the entry in the main.css file but it didn't solve it! (I'm no css expert or html programmer). Can you please help me? – Luca Aug 16 '17 at 18:08

1 Answers1

4

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 :)

trollr
  • 1,095
  • 12
  • 27