twentyeleven #branding background image won't display in ie (3 posts)

  1. chrisvwlc
    Posted 3 years ago #

    Please help! I have a child theme of twentyeleven (http://www.positiveoutcomeexpo.com) that I removed the header images for. I instead want to apply a background image to #branding. It's working fine in ff & safari but won't show up in IE 6,7,8!!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Start by sorting out the markup errors. Then move onto the CSS errors in your child's stylesheet.
    If you continue to have problems with IE, consider conditional comment CSS

  3. chrisvwlc
    Posted 3 years ago #

    Thanks esmi for your response.
    It turns out the problem was that IE doesn't recognize the HMTL5 tags that I assumed twentyeleven had included the js fix for. Conditional comments/ie stylesheets didn't help because the divs are nested within those unrecognized tags.
    My fix, for what it's worth, was to add the following to functions.php in my child theme folder:

    add_action('wp_head', 'forie');
    function forie() {

Topic Closed

This topic has been closed to new replies.

About this Topic