Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. How can I hide the active menu link from the menu on mobile?

How can I hide the active menu link from the menu on mobile?

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 1.8k Views 1 Watching
  • 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
    P
    prazzo101
    wrote on last edited by
    #1

    Hello, I would like to hide the link for the active site from the burger menu. How can I do this?

    Thank you!

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

      Dear @piero101
      have a look here:

      .mobile-nav .current-menu-item {
          display: none !important;
      }
      

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      2
      • P
        P
        prazzo101
        wrote on last edited by
        #3

        Thank you! You guys rock! :)

        1 Reply Last reply
        1
        • M
          M
          marcelgross
          wrote on last edited by
          #4

          @mariusjopen
          I tried to use the same classes to change the color of the current-menu-item, but somehow it doesn't show an effect. I first tried your code with display:none and it worked, but as soon as I change it to color: it wouldn't work.

          .mobile-nav .current-menu-item {
              color: #ff494f !important;
          }
          

          Do you know, what I could have forgotten? Or is the color defined somewhere else?
          Thx

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

            Dear @marcelgross
            inspect the CSS. You can see that there is a span element inside it. You need to give a colour to that element.

            Best!

            Marius

            www.mariusjopen.world

            M 1 Reply Last reply
            0
            • mariusjopenM mariusjopen

              Dear @marcelgross
              inspect the CSS. You can see that there is a span element inside it. You need to give a colour to that element.

              Best!

              Marius

              M
              M
              marcelgross
              wrote on last edited by
              #6

              @mariusjopen Thanks! I should have got this on my own... beginners fault. But I'm very happy about your perfect support even with this little details!

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

                Dear @marcelgross
                ah, thank you :-) Very happy to hear!

                Thank you for using LayTheme!

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                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