WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Jesin A
    Member
    Posted 12 months 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
    Member
    Posted 11 months 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
    Member
    Posted 11 months ago #

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

Reply

You must log in to post.

About this Topic