remove alternativ background lines for wp-syntax
wp-syntax is a power tool to highlight your code, but the alternative background lines can make your code unreadable on some screens.
To remove the alternative background lines feature, we can just overwrite the css by adding the two lines in your theme’s style.css.
You can change the background color to whatever you like.
|
1 2 |
.wp_syntax pre { background:#FCFCFC !important; } .wp_syntax td.code { background-image:none; background-color:none; } |











