This topic has 2 replies, 2 voices, and was last updated 4 years, 11 months ago ago by Olga Barlow
Hi there,
We are using Legenda theme version 3.1
Recently we got Google Search Console error regarding mobile layout stating that the meta Viewport is NOT set to device-width.
Upon inspection, it seems there are 2 viewport meta tags being output:
Screenshot: https://prnt.sc/q5bail
Now, upon further investigation, it seems the header.php file in the theme contains a condition for checking whether responsiveness is set or not, but the fixed with meta-viewport is not set inside any conditional statement.
Should the
width=1200 viewport
get output if $etheme_responsive is false?
Screenshot: https://prnt.sc/q5ba2o
Kindly advise the best way to remove the fixed with (width=1200 meta-viewport).
Or, if it wont affect anything else, we can simply remove this?
Thanks
Hello,
Edit code as mentioned on the screenshot https://prnt.sc/q5o12e to remove duplication if the responsive option is disabled or enabled.
Regards
You must be logged in to reply to this topic.Log in/Sign up