Home Forums Theme support Prestige theme responsive on computer but not on iphone

This topic contains 8 replies, has 2 voices, and was last updated by  7Theme Support 7 years, 7 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • hd

    Hi,
    The Prestige theme is responsive when I load it on my computer browser but not on my iphone
    Can you help me.
    thank you
    regards
    hd

    Hi,

    can you send us a link to the page with the problem, then we can take a look at it.

    hd

    Hi,
    This the website
    Collection-privee.fr
    Thank u

    hd

    find anything ?
    thank you

    Hi,

    we checked the website and there is a missing tag in the header. Have you changed something in the PHP files?

    However, it is very easy to solve, just add the following code to the end of the functions.php file in your theme folder:

    function sl_p_handle_viewport_error(){
    	echo '<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />';
    }
    add_action("wp_head","sl_p_handle_viewport_error");

    This will solve the problem

    hd

    Hi,
    I had to change few things in php but can u tell me where the tag is missing ?
    thank you again very much
    regards
    hd

    The tag is missing in the header, but was made with a WordPress action. I’m not sure if you changed or deleted something, but the most easiest way to repair it is to add the code we gave you in our last post in your functions.php file.

    hd

    Ok
    the problem is solve
    thank you very much
    best regards

    You’re welcome!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.