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. 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 138 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.
  • J Offline
    J Offline
    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 Offline
      arminunruhA Offline
      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 Offline
        arminunruhA Offline
        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 Offline
          J Offline
          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 Offline
            arminunruhA Offline
            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            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
            N
            NAS
            M
            mimimin
            thewhitesmilesT
            thewhitesmiles
            dranuradhasinghD
            dranuradhasingh
            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