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. Show/hide menu

Show/hide menu

Scheduled Pinned Locked Moved General Discussion
hideshowmenu
4 Posts 2 Posters 1.7k 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.
  • S Offline
    S Offline
    strk
    wrote on last edited by
    #1

    Hi @arminunruh !
    just a quick question regarding the menu.

    I would like to hide it from the main (grid) page (I know you can do it from the Lay Options) but I would like to show it again when the user is inside a project in order he can go back to the grid page. Or displaying a Back button would be also useful even if it is not using the menu. Is it possible?

    Many thanks and congrats as usual!

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

      hey strk!
      you can hide something by using custom css based on which page you are. please read this:
      http://laytheme.com/documentation.html#custom-css-styling

      So some css that u could use can be

      body.slug-frontpage nav.primary{
      	display: none!important;
      }
      

      For having a back button, hm I think for that you would need to use some custom html and css in "lay options" -> "custom css & html". Or maybe a footer with a link inside the footer? You could use the footer feature for that http://laytheme.com/documentation.html#footers

      S 1 Reply Last reply
      0
      • arminunruhA arminunruh

        hey strk!
        you can hide something by using custom css based on which page you are. please read this:
        http://laytheme.com/documentation.html#custom-css-styling

        So some css that u could use can be

        body.slug-frontpage nav.primary{
        	display: none!important;
        }
        

        For having a back button, hm I think for that you would need to use some custom html and css in "lay options" -> "custom css & html". Or maybe a footer with a link inside the footer? You could use the footer feature for that http://laytheme.com/documentation.html#footers

        S Offline
        S Offline
        strk
        wrote on last edited by
        #3

        @arminunruh Thanks Armin!
        So I should keep the menu activated for all pages/projects but use the css code to hide it from the main page, is that right?

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

          Yes that's right!

          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