WordPress.org

Ready to get started?Download WordPress

Forums

How can I add conditional comments to thematic head? (1 post)

  1. toverdesignbe
    Member
    Posted 2 years ago #

    I'm making a childtheme to Thematic and I want to add the following conditional comments to my head section:
    <!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7"> <![endif]-->
    <!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7"> <![endif]-->
    <!--[if IE 8]> <html class="ie ie8 lte9 lte8"> <![endif]-->
    <!--[if IE 9]> <html class="ie ie9 lte9"> <![endif]-->
    <!--[if gt IE 9]> <html> <![endif]-->
    <!--[if !IE]><!--> <html> <!--<![endif]-->
    (courtesy of Paul Irish and Patrick O'Neill)

    This way I can solve my IE bugs in my style.css file.
    How do I put this into my php and where?
    I'm a novice to php.

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Topic