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

#34291

7Theme Support
Keymaster

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