Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. MOBILE TROUBLE: OVERLAY MENU AND FIXED FOOTER NOT WORKING

MOBILE TROUBLE: OVERLAY MENU AND FIXED FOOTER NOT WORKING

Scheduled Pinned Locked Moved Bug Reports
5 Posts 2 Posters 502 Views 1 Watching
  • 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.
  • J
    J
    Jarek
    wrote on last edited by
    #1

    Hey Armin. I've already shared the project with you previously and you helped me figure out how to implement a fixed footer with a 'reveal' effect:

    lsbstudios.co.uk

    Now I'm working on the mobile version and I have two problems:

    1. menu overlay doesn't work; tapping the burger icon doesn't do anything on mobile.
    2. footer disappeared on mobile; it doesn't show at all.

    You can access the website using test / test login and password. If you can help, I will be really grateful!

    1 Reply Last reply
    1
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey man pls dont all caps your post title on the forum

      nice website!

      so you need to use css to make the fixed footer work for mobile too.
      you use a custom phone layout, so the css is different here cause the markup is different, best to learn how to use the chrome inspector to inspect the html elements and to understand where the css applies and where it doesn't and what html is currently shown!

      in lay options → custom css & html → custom css for mobile

      #custom-phone-grid{
      margin-bottom: 100lvh;
      background: black;
      z-index: 1;
      }
      

      Screenshot 2023-11-12 at 19.53.31.png

      dont use the id of footer here!
      because lay theme already uses that id internally for the desktop footer. so it hides the desktop footer in case we have a custom phone layout footer and we are viewing the custom phone layout. so lay theme now thinks your custom phone layout footer is a desktop footer and then hides it for the phone version :D

      so in wp-admin go to your footer page, in the gridder switch to your phone layout. then right click the row and don't use "footer" as the id, but use "footer2" or sth

      1 Reply Last reply
      0
      • arminunruhA
        arminunruhA
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        the overlay for mobile works for me! does it work for you too now?

        1 Reply Last reply
        0
        • J
          J
          Jarek
          wrote on last edited by
          #4

          Hey Armin. Thanks for the footer fix – it works! Appreciate it.

          Overlay for mobile – I replaced it with a custom mobile menu, but I'd prefer to use the overlay. Just switched back to it, and it still doesn't work. I left it on for mobile now, so you can check for yourself. Clicking the menu burger doesn't do anything.

          1 Reply Last reply
          0
          • arminunruhA
            arminunruhA
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            it just didn't work for you on chrome on mobile right :O

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            L
            lstark
            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.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search