Responsive site on IE8

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4048
    greglrgreglr
    Participant

    Hello
    Extinct does not seem to be responsive on IE8. Is there a way to fix this? Thanks.
    Greg.

    #4066
    RaghavendraRaghavendra
    Moderator

    IE8 does not support CSS media queries and hence none of our themes (and most on ThemeForest) are responsive in IE8. Only way to achieve it is through Javascript. Anyway, IE8 is a desktop browser and hence I am not sure this would be an issue.

    #4163
    greglrgreglr
    Participant

    I have to make it responsive on all browser for my french client, especially on IE8 witch is still very used in France. I saw that a Javascript library like css3-mediaqueries.js can do the job. Do you recommande it and how do you manage the installation ?

    #4196
    RaghavendraRaghavendra
    Moderator

    From the description it looks like the script will take care of everything provided you just load the script. To load the script, you can input the following PHP into custom/custom-functions.php file –

        add_action('wp_enqueue_scripts', 'my_enqueue_scripts');
    
    function my_enqueue_scripts() {
    
        wp_enqueue_script('jquery-mediaqueries', get_template_directory_uri() . '/js/css3-mediaqueries.js', array('jquery'), false, true);
    }
    

    assuming you will have this script placed in js folder of the theme directory.

    #4274
    greglrgreglr
    Participant

    Ok, thank you. I’ll try and see. However, could you provide me also a way to remove the library in case I don’t need any more in futures days?

    #4279
    RaghavendraRaghavendra
    Moderator

    To remove the library, you can just remove the above code from the custom-functions.php and the script will not load anymore on the pages. Hope that’s what you were looking for.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Responsive site on IE8’ is closed to new replies.