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. General Discussion
  3. Burger menu for Tablet

Burger menu for Tablet

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 231 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.
  • F Offline
    F Offline
    FANER
    wrote on last edited by FANER
    #1

    hey there,

    is there any easy fix to display the burger menu for tablet view? I need a proper menu für desktop, but its breaking in tablet.

    My work around at the moment is to eliminate the Tablet Breakpoint (make it 951 and Phone 950).

    but if there would be a nicer way, i would be very happy.

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

      hey there!

      a simple fix would be to use a textformat for your menu in customize → menu style → primary menu

      then in "lay options" make sure this is checked:
      Screenshot 2023-09-29 at 20.03.12.png

      then in "textformats", change the fontsize for the textformat for tablet to be smaller. this way when your browsersize is smaller, the menu might still fit in nicely.

      also you can change the phone breakpoint to a higher value in lay options:
      Screenshot 2023-09-29 at 20.04.48.png

      to answer your question:
      you can go to lay options → activate overlay feature

      then create a page, call it menu

      in the page, check "use as overlay"
      also there you have to set your settings like "use burger icon"
      you can also check "hide for phone"

      put your menu points into the gridder of that page: create a text element and put links in there

      then in lay options → custom css & html
      in custom css

      add

      @media(min-width:1025px){
          .overlay-burger{
              display: none;
          }
      }
      @media(max-width:1024px){
          .desktop-nav{
              display: none!important;
          }
          .overlay-burger{
              display: block;
          }
      }
      

      this will hide your desktop menu for a browser width of less than 1024px and show the burger instead

      you could also go to customize → mobile → mobile menu and click hide. and then uncheck "hide for phone" when editing the overlay settings in your menu page. this way you just use the overlay as a mobile menu and tablet menu

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FANER
        wrote on last edited by
        #3

        okay, thats a good work around, which seems cleaner than my version.

        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
        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