[resolved] Fix for Infinity WordPress theme featured images not diplaying IE8 (2 posts)

  1. joshgarrod
    Posted 3 years ago #

    Hi All,

    I had a problem with the Infinity theme not showing images in IE8 - I found the fix and thought I would share it here (theme as on my site here http://www.iphoneprojector.net )

    In the theme editor, edit the theme-functions.php page and add the following lines of code after the first two lines:

    function fix_ie8() {if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {header("X-UA-Compatible: IE=7");}}

    Hope this helps someone as it did me!

  2. BLuu123
    Posted 3 years ago #

    Thanks for the code, i'm having problems inputing it.

    When I put in functions.php file into my child theme the whole page just goes blank. Even if I input the default functions.php file without any modifications.

    How do I fix this?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.