Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Show / Hide Menu (Multiple Menus)

    General Discussion
    3
    6
    410
    Loading More Posts
    • 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
      Paul_Moxie last edited by

      Re: Show/hide menu

      Hi @arminunruh!

      Is there a way to hide the 2nd 3rd and 4th menu using css?
      Like you did in the post above with the primary menu using nav.primary.

      Greets, Paul

      1 Reply Last reply Reply Quote 0
      • P
        Paul_Moxie last edited by

        Already figured it out! :)

        By using:

        body[data-type="page"][data-id="10"] nav{
        display: none !important;
        }

        1 Reply Last reply Reply Quote 1
        • mariusjopen
          mariusjopen Global Moderator last edited by

          Dear @Paul_Moxie
          yea! Thank you for sharing!

          Best!
          Marius

          www.mariusjopen.world

          1 Reply Last reply Reply Quote 0
          • T
            tortue771 last edited by

            Hi @Paul_Moxie and @mariusjopen ,

            display: none and visibility: hidden both worked for me with hiding a secondary menu on certain pages, thank you!

            I've been trying to hide a menu everywhere -except- on certain pages. I was wondering whether you had a trick for that. I tried several different ways such as :

            In the main body:
            nav.fourth_menu{
            visibility: hidden !important ;
            }

            body[data-id="1"][data-type="category"]{
            nav.fourth_menu{
            visibility: visible !important ;
            }

            But so far no success. If you have any suggestion I'd be most grateful, thanks!

            1 Reply Last reply Reply Quote 0
            • T
              tortue771 last edited by

              Actually, I think I had a ' { ' too much. This is working for me now!

              nav.fourth_menu{
              visibility: hidden !important;
              }

              body[data-id="4"][data-type="category"]
              nav.fourth_menu{
              visibility: visible !important;
              }

              1 Reply Last reply Reply Quote 0
              • mariusjopen
                mariusjopen Global Moderator last edited by

                Dear @tortue771
                great! Thank you for sharing!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Before you post

                Use the Search Feature. Maybe there is already a solution to your issue.

                1. Update Lay Theme and all Lay Theme Addons
                2. Disable all Plugins
                3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                4. Now see if your problem solved itself
                5. Go here, see if your problem is listed here:
                Troubleshooting

                When you post:
                1. Post a link to where the problem is
                2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                Thanks!

                Online Users

                A
                D
                S
                M
                K
                F
                F
                O

                Recent Topics

                • K

                  Unable to update lay theme / to login wp admin

                • S

                  Theme crashed - because of Polylang?

                • A

                  New button feature not available

                • A

                  carousel addon not working after update

                laytheme.com