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!!
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!!
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
}You must log in to post.