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

navbar

Scheduled Pinned Locked Moved General Discussion
removehidemobilemenunavbar
5 Posts 2 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.
  • L Offline
    L Offline
    ls
    wrote on last edited by ls
    #1

    Hey,
    Thank you for the great theme, :smiley:

    I have two basics questions concerning the navbar :

    • Is there a simple way to hide or remove the menu ?
    • How can I get rid of the grey line of the navbar that appear by default in the mobile version of Lay ?

    Thanks & have a super nice day !
    Ciao
    :sunglasses:

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

      You mean the mobile navigation?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        ls
        wrote on last edited by
        #3

        Yes,
        I was wondering if there was a simple way to remove or hide the menu.

        As in the example below (found on laytheme.com), the desktop version have no menu (image 1) but when it comes to the mobile version there is a default menu with a 1 pixel grey line (image 2).

        1.png
        2.png

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

          Ok!

          If you want to hide the mobile menu you can use this CSS. Just insert it into the "Custom CSS for Mobile Version" field in "Lay Options" -> "Misc Options".

          .navbar, nav{
              display: none;
          }
          
          body{
              padding-top: 0!important;
          }
          

          If you just want to hide that line of the mobile menu, use

          .navbar {
            border-bottom-width: 0!important;
          }
          

          For these little changes it's super useful if you know a little CSS. You can learn about it here for example:
          https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started

          1 Reply Last reply
          0
          • L Offline
            L Offline
            ls
            wrote on last edited by
            #5

            It works like a charm, thank you ! :smiley:

            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