Content is not sized correctly for the viewport
-
hello
Issue screenshot
https://www.tenman.info/wp3/emulsion/files/2020/05/mobile-viewport-issue.pngWhen Template Mode is standard, transitional, the plugin seems to add its own mata viewport element
<meta name="viewport" content="width=device-width">
I changed the code of the plugin a little and experimented.
class-amp-meta-sanitizer.php
line:69
from
const AMP_VIEWPORT = 'width=device-width';
to
const AMP_VIEWPORT = 'width=device-width,minimum-scale=1,initial-scale=1';
Result
https://www.tenman.info/wp3/emulsion/files/2020/05/viewport-issue-fixed.pngI would like to know how to use the theme’s meta viewport tag or
how to override the plugin’s meta viewport tag from the theme.Themes that have this problem
https://www.ads-software.com/themes/emulsion/
Thank you.
- The topic ‘Content is not sized correctly for the viewport’ is closed to new replies.