Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. From mobile I see desktop version

From mobile I see desktop version

Scheduled Pinned Locked Moved Bug Reports
mobile
6 Posts 2 Posters 100 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Giacomooo
    wrote on Sep 17, 2024, 9:22 AM last edited by
    #1

    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!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Sep 18, 2024, 4:24 PM last edited by
      #2

      hey!

      can u try the steps in the blue box to the right?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        arminunruh
        Global Moderator
        wrote on Sep 18, 2024, 4:27 PM last edited by
        #3

        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

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Giacomooo
          wrote on Sep 18, 2024, 5:12 PM last edited by
          #4

          I tried following the steps on the blue box but it hasn't changed. Where shall I add the code you gave me?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Giacomooo
            wrote on Sep 18, 2024, 6:26 PM last edited by
            #5

            I put the code after <head>, before the iubenda code, and it works now! Thanks

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Sep 20, 2024, 8:08 AM last edited by
              #6

              ok nice!

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes

              6/6

              Sep 20, 2024, 8:08 AM


              I also code custom websites or custom Lay features.
              💿 Email me here: 💿
              info@laytheme.com

              Before you post:
              1. When using a WordPress Cache plugin, disable it or clear your cache.
              2. Update Lay Theme and all Lay Theme Addons
              3. Disable all Plugins
              4. 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:
              1. Post a link to where the problem is
              2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
              3. If the problem is difficult to explain, post screenshots / link to a video to explain it
              Online Users
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
              laytheme.com
              • Login

              • Don't have an account? Register

              • Login or register to search.
              6 out of 6
              • First post
                6/6
                Last post
              0
              • Recent
              • Tags
              • Popular
              • Users
              • Search