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. Menu space between in %

Menu space between in %

Scheduled Pinned Locked Moved General Discussion
spacemenu
5 Posts 2 Posters 1.4k Views 2 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.
  • F
    F
    fabianschewe
    wrote on last edited by
    #1

    Hi armin,
    great work with the laytheme there!

    I have a question regarding the menu.
    Is it somehow possible to set the space between menu points with % instead of px?

    It should look something like that: http://fabian.schewe-hausen.de/
    it did that with normal fixed text.

    do you know a way to make that work?

    thanks,

    Fabian

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

      Hey Fabian!

      Hmm how about this CSS in "Lay Options" -> "Custom CSS & HTML" -> "Custom CSS for desktop":

      nav.primary li{
      margin-bottom: 30vh;
      }
      

      You can play around with the 30vh value.

      1 Reply Last reply
      0
      • F
        F
        fabianschewe
        wrote on last edited by fabianschewe
        #3

        Hey Armin,

        thanks for the answer!
        that works for me, except that the space from top for the first menu point somehow when i select 19% space top, i think it takes 19% of the windows width and not hight. so the menu changes when i scale the browser window in width but doesnt when i change the hight. is that possible?

        here's the link i used it: www.fabianschewe.com
        Thanks!

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

          ah yeah, you could do:

          nav.primary {
              top: 30vh;
          }
          
          1 Reply Last reply
          0
          • F
            F
            fabianschewe
            wrote on last edited by
            #5

            thanks! that worked

            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
            L
            lstark
            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