From mobile I see desktop version
-
From mobile I see desktop version
I added the code to make the Iubenda-generated cookie pop-up appear inside the header page, right after <head>.
The pop-up window opens correctly but now when I open the site from mobile, I only see the desktop version. It no longer displays the mobile version.
I also tried removing the code I had inserted but things don't come back the same as before.
My site is giacomocopiello.com.
The Iubenda code I added is:
<script type="text/javascript">
var _iub = _iub || [];
_iub.csConfiguration = {"siteId":3762659,"cookiePolicyId":99159066,"lang":"it"};
</script>
<script type="text/javascript" src="https://cs.iubenda.com/autoblocking/3762659.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/gpp/stub.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>Thanks a lot!
-
hey!
can u try the steps in the blue box to the right?
-
this meta tag is missing on your website, its crucial for making the phone version show up:
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0, user-scalable=yes, viewport-fit=cover">
it is hard coded into lay theme.
i think maybe a plugin or some custom code may remove this tag.
if you follow the steps in the blue box, it may fix it -
ok nice!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it