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. Hiding second and third menu on mobile

Hiding second and third menu on mobile

Scheduled Pinned Locked Moved General Discussion
12 Posts 4 Posters 1.3k 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.
  • Z Offline
    Z Offline
    zochovsky
    wrote on last edited by zochovsky
    #1

    Hi there,

    I hope everyone's well.

    I was just wondering if there is an easy way for hiding second and third menu on mobiles (and leaving primary on on mobile but hide it on desktop) with "Use desktop menu style" switched on?

    Any help would be greatly appreciated

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

      Dear @zochovsky

      sorry. I don't quite understand.

      On mobile you want to hide the second and third menu?
      And on desktop you want to…?

      :-)

      Best!

      Marius

      www.mariusjopen.world

      J 1 Reply Last reply
      0
      • mariusjopenM mariusjopen

        Dear @zochovsky

        sorry. I don't quite understand.

        On mobile you want to hide the second and third menu?
        And on desktop you want to…?

        :-)

        Best!

        Marius

        J Offline
        J Offline
        jui
        wrote on last edited by
        #3

        @mariusjopen
        Hi !
        I have the same issue I think, on my desktop version I have 4 menu points and because I changed the layout of my mobile version, I only need 2 menu points for it.

        Read a couple of hiding-menu-points-questions, nothing quite answered mine, you know what I mean though ?
        Thanks !

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @jui & @zochovsky
          You can hide specific menu points from the navigation with the ID

          For example:

          #menu-item-64 {
              display: none;
          }
          

          Hope that helped!

          Marius

          www.mariusjopen.world

          J 1 Reply Last reply
          0
          • mariusjopenM mariusjopen

            Dear @jui & @zochovsky
            You can hide specific menu points from the navigation with the ID

            For example:

            #menu-item-64 {
                display: none;
            }
            

            Hope that helped!

            Marius

            J Offline
            J Offline
            jui
            wrote on last edited by
            #5

            @mariusjopen Alright, how do I find out the menu-item-nr ?

            1 Reply Last reply
            0
            • edgrbnzE Offline
              edgrbnzE Offline
              edgrbnz
              wrote on last edited by edgrbnz
              #6

              @jui Easy!
              Visit the page in your browser, open inspector (cmd+alt+i) or right click → inspect and click the menu-item you want to hide, Then you can see the item number in the inspector panel, like so:

              0_1534398262894_Window_and_Moritz_Welker.jpg

              ✦ ✦ ✦

              J 1 Reply Last reply
              0
              • edgrbnzE edgrbnz

                @jui Easy!
                Visit the page in your browser, open inspector (cmd+alt+i) or right click → inspect and click the menu-item you want to hide, Then you can see the item number in the inspector panel, like so:

                0_1534398262894_Window_and_Moritz_Welker.jpg

                J Offline
                J Offline
                jui
                wrote on last edited by
                #7

                @edgrbnz thanks, does not work unfortunately though, Just found data-ids. I wonder if it´s because of the drop down submenu on one of the menu points. Any ideas ?

                0_1534415441284_Bildschirmfoto 2018-08-16 um 12.29.56.png

                1 Reply Last reply
                0
                • edgrbnzE Offline
                  edgrbnzE Offline
                  edgrbnz
                  wrote on last edited by
                  #8

                  @jui any links to your website?

                  ✦ ✦ ✦

                  J 2 Replies Last reply
                  1
                  • edgrbnzE edgrbnz

                    @jui any links to your website?

                    J Offline
                    J Offline
                    jui
                    wrote on last edited by
                    #9

                    @edgrbnz http://www.juliakrusch.de/

                    1 Reply Last reply
                    0
                    • edgrbnzE edgrbnz

                      @jui any links to your website?

                      J Offline
                      J Offline
                      jui
                      wrote on last edited by
                      #10

                      @edgrbnz and the "Work" menu point including the submenu should be hidden for the mobile version

                      1 Reply Last reply
                      0
                      • edgrbnzE Offline
                        edgrbnzE Offline
                        edgrbnz
                        wrote on last edited by
                        #11

                        0_1534596130533_Window_and_Julia_Krusch.jpg

                        #menu-item-749 {
                            display: none;
                        }
                        

                        Should do the trick.

                        ✦ ✦ ✦

                        J 1 Reply Last reply
                        0
                        • edgrbnzE edgrbnz

                          0_1534596130533_Window_and_Julia_Krusch.jpg

                          #menu-item-749 {
                              display: none;
                          }
                          

                          Should do the trick.

                          J Offline
                          J Offline
                          jui
                          wrote on last edited by
                          #12

                          @edgrbnz ah thanks so much ! works !

                          1 Reply Last reply
                          2
                          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