[resolved] Wrong tag "before {" in style.css (3 posts)

  1. Jesin A
    Posted 2 years ago #

    I developed a theme for wordpress and checked it with the themecheck plugin.

    One of the warnings was

    WARNING: Found wrong tag, remove before { from your style.css header.

    I've used the :before pseudo class in the stylesheet but I don't know why it is taken as a tag.

    My CSS code is here http://pastebin.com/XpfYKj2j

  2. Jesin A
    Posted 2 years ago #

    Found the problem myself, the issue was with the themecheck plugin and not my stylesheet.

    The following code triggered the error

    .post-tags:before {
    /* Some styles here */

    To know more on why the plugin detected this see http://wordpress.org/support/topic/a-bug-which-identifies-tags-incorrectly-in-the-stylesheet

  3. cinleo
    Posted 2 years ago #

    Great. I was wondering there the errors came from as well.

Topic Closed

This topic has been closed to new replies.

About this Topic