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. Connect and find Help
  3. Menu + spaces between adapt to browser width

Menu + spaces between adapt to browser width

Scheduled Pinned Locked Moved Connect and find Help
4 Posts 2 Posters 670 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.
  • P
    P
    PC
    wrote on last edited by
    #1

    Hello there,
    Thanks for this great Theme and for all your effort! Right now I am wondering how to make a responsive menu. I have four menu points (just words in the same typesize) and I want them to take the whole browser width, for all desktop/tablet browser sizes. That means the spaces between the menu points should change. Is there a way to implement this? Thanks a lot!

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @PC

      I see in the 'Customize' menu that only px are available atm..
      Screen Shot 2020-12-15 at 5.59.55 PM.png

      However you could target the menu adding CSS and then give the Menu a 'Viewport' margin OR 'VH' setting "viewheight"
      The menu points will space themselves based on your browser's height:
      https://css-tricks.com/fun-viewport-units/

      So in 'Lay-options - 'Custom CSS & HTML" you would add some code to the top section - 'Custom CSS'

      Example:

      .laynav .menu-item {
          margin-bottom:10vh !important;
      }
      
      

      Good Luck and let me know how you go! :)

      Best Wishes
      Richard

      1 Reply Last reply
      0
      • P
        P
        PC
        wrote on last edited by
        #3

        Dear @Richard-K , thanks a lot for your helpful reply. I had not seen your answer for a long time and then changed the design because of other reasons. With the next website I will try that. Thanks for helping! Best, Pia

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear Pia @PC

          Cool, thanks for following up and concluding the thread :)
          Best of Luck wiht future Projects and thanks for using Lay Theme!

          Richard

          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