Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

CSS parsing errors

$
0
0

Replies: 0

There seems to be some errors associated with css code at the beginning, but I can’t find what plugin it’s coming from. The following code appears at line 2 of view source:

<style>.yuzo_related_post{}
.yuzo_related_post .relatedthumb{}</style><style>.yuzo_related_post .relatedthumb{background: !important; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear;;color:!important;}
.yuzo_related_post .relatedthumb:hover{background:#fcfcf4 !important; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear;;color:!important;}
.yuzo_related_post .yuzo_text, .yuzo_related_post .yuzo_views_post {color:!important;}
.yuzo_related_post .relatedthumb:hover .yuzo_text, .yuzo_related_post:hover .yuzo_views_post {color:!important;}
.yuzo_related_post .relatedthumb a{color:!important;}
.yuzo_related_post .relatedthumb a:hover{color:!important;}
.yuzo_related_post .relatedthumb:hover a{color:!important;}
.yuzo_related_post .relatedthumb{ margin: 0px 0px 0px 0px; padding: 5px 5px 5px 5px; }</style>

_____________________________________________________________________________
color and !important are separate attributes. color needs a value, !mportant is a stand-along command and not a color value. Same with background and !important. You can see the parsing errors here:

https://validator.w3.org/nu/?doc=https%3A%2F%2Fsteventress.com%2F
______

Please advise how to solve the errors in the code.

  • This topic was modified 53 minutes ago by StevenTress.
  • This topic was modified 52 minutes ago by StevenTress.

Viewing all articles
Browse latest Browse all 59525

Trending Articles