Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #358417

    I found a post by Josue that you need to change the code in the header.php file to enable zoom on some mobile devices. Can this be added to the child them in the functions file or some other way so it is not lost on an update?

    Thanks

    #358618

    Hey xyzb!

    Is it line 35 in the header.php file?

    if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
    

    Yes, the header.php file is a WordPress template so you can copy that file to your child theme folder and edit it there.

    Best regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.