Support » Themes and Templates » twentyeleven #branding background image won't display in ie

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

    Start by sorting out the markup errors. Then move onto the CSS errors in your child’s stylesheet.
    http://codex.wordpress.org/Validating_a_Website
    If you continue to have problems with IE, consider conditional comment CSS

    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() {
    ?>
    <script>
    document.createElement('header');
    document.createElement('footer');
    document.createElement('aside');
    </script>
    <?php
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘twentyeleven #branding background image won't display in ie’ is closed to new replies.