CSS Class not being applied (2 posts)

  1. wirefury
    Posted 1 year ago #

    I built a custom template and some of my css classes aren't being applied.
    The page is http://mielleorganics.com/testimonials-test/ and if you check the video's you'll see they are in an article tag with classes of floats.

    That class isn't being applied. Class '.colThree' IS being applied though.

    I'm going nuts over here trying to find out why one class would be applied but the other would not. Especially since there were no problems on my local version of the site.

    Thank you in advance for any assistance.

  2. stephencottontail
    Posted 1 year ago #

    You're using HTML-style comments in your stylesheet, which is causing parsing errors. Truth be told, I'm not sure why it only affects the next block after the comment. But anyway, you need to replace the comments with the appropriate CSS-style comments:

    /* This is a comment in CSS. */

Topic Closed

This topic has been closed to new replies.

About this Topic