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. second menu disappearing on phone

second menu disappearing on phone

Scheduled Pinned Locked Moved General Discussion
10 Posts 2 Posters 181 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.
  • P Offline
    P Offline
    person5
    wrote on last edited by
    #1

    Hello, I added a second menu that I use as the site title (so I can add a custom link to it) instead of the "regular" site title. The regular site title scales fine down to phone size, but the second menu I added just disappears on phone. Would be crucial for me if it wouldn't, but I can't find the error. Second menu works (top left): Screenshot 2024-01-06 025024.png

    Second menu gone:
    Screenshot 2024-01-06 025108.png

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

      hello!

      so on mobile only the mobile menu is shown and the site title
      the mobile menu is always just one menu

      Screenshot 2024-01-06 at 17.45.41.png

      in customize -> mobile -> menu
      you can choose "desktop menu style" to have a menu that is more similar to your desktop menu in the way it looks and works

      if you want to add your other menu points to that menu,
      you can go to appearance -> menus

      here you can create a new menu that contains all the links of your two desktop menus.
      then assign it to the "mobile menu" location:

      Screenshot 2024-01-06 at 17.47.04.png

      this way you'd have the missing menupoints inside of your mobile menu

      however, mobile doesn't support two different menus displaying for example one at the top right and one at the bottom center like in your desktop version of your website.

      after thinking about this more, i can tell it'd probably solve your issue if you did this:

      create some html in custom css & html:

      in html at bottom:

      <a href="https://google.com" class="my-custom-link _Default">My Site Title</a>
      

      then in CSS:

      .my-custom-link{
      color: white!important;
      position: fixed;
      left: 10px;
      right: 10px;
      z-index: 10;
      }
      

      and then remove the second menu

      this way you always have a link on the top left corner, which is just some custom html instead of using a second menu

      another way to solve this would be to use some custom css, to prevent the second menu from hiding when on mobile

      for me to help you with this it would be most convenient for me if you could post the link to ur website here

      1 Reply Last reply
      0
      • P Offline
        P Offline
        person5
        wrote on last edited by person5
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • P Offline
          P Offline
          person5
          wrote on last edited by person5
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • P Offline
            P Offline
            person5
            wrote on last edited by
            #5

            I tried your suggestion but its not working :( No link is shown on the page. Maybe fixing a text box at the top of the page that I make a "go up" button (like described here: http://laythemeforum.com:4567/topic/6175/fixing-a-text-element-in-the-foreground/2) would work in this case, too? But when I tried that it didn't work, too, sadly

            1 Reply Last reply
            0
            • P Offline
              P Offline
              person5
              wrote on last edited by
              #6

              I finally made it work! It wasn't visible because I was hiding the site title, the HTML link and the lay theme site title seem to be interlinked somehow? I got it working now anyway! Also, the reloading of the page was triggered simply because I had a slash / in front of the #hashtag, after I removed that, it scrolls buttery smooth to the anchor. Man I struggled so hard :D Thanks for your help Armin!

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

                ok very good

                i see you just used the site title to do a scroll to top

                however, its not necessary to create a custom html element or second menu instead of the site title, just to use it as a scroll to top button.

                instead do this:

                http://laythemeforum.com:4567/topic/9461/site-title-as-scroll-to-top?_=1704738926397

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

                  btw when i try to answer your email i get an error saying the email cant be delivered

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    person5
                    wrote on last edited by person5
                    #9

                    Damn I didn't find that solution, would've been much easier! Thank you very much :)

                    Sorry about the adress, there was a configuration error and its the wrong one, I sent you the correct one. Can you delete the adress here? Don't know if someone could abuse it somehow

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

                      sure just did so

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