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. Spacing menus around title

Spacing menus around title

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 646 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.
  • F Offline
    F Offline
    FredL
    wrote on last edited by
    #1

    Hi
    I chose to use an horizontal top frame menu. with 4 elements.
    How can I precisely space these 4 around the website title (jpg) so that they're all centered on one line and the menus don't cross the title, please ? Title in the middle, two menus on each side.
    Thanks !

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

      Hi @FredL
      sorry for the delay.

      The post did not pop up in my Unread-Messages.

      Try this one:

      nav.primary ul {
          width: 100%;
          display: flex;
          justify-content: space-between;
      }
      
      .primary {
          width: 80vw;
          display: flex !important;
          justify-content: space-between;
      }
      
      

      You might need to play with that value width: 80vw; depending on the size of your title.

      I hope I could help!

      All the best!

      Marius

      www.mariusjopen.world

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

        Thank you for that answer Marius ! Unfortunately it didn't work out well (despite trying other values as you said) :
        Attached you will see that menus overlap the title (image 1) or when you narrow the window, they overlap more and one menu can't fit in the length (image2).
        0_1517911373314_image1.png
        1_1517911373360_image2.png

        Best would be to two fixed menus fixed from the right of the title, and the two others fixed from its left. Whenever you spread the window, the menu keeps a pair of menus as "wings"

        Thanks for your help.
        F

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

          Hello FredL!

          Oh yea I need to develop a feature to make multiple menus possible.

          This really is a hassle right now.

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

            Dear Fred,

            I see what you mean now.

            This is not possible. You would need two menus to achieve this. One on the left and one on the right.

            If it is really, really important to have those menus on the right and on the left, you can try with Custom HTML and make the navigation manually.

            Also have a look here:
            http://laythemeforum.com:4567/topic/2144/fade-effect-smooth-transitions-links-via-custom-html/2

            This is the only solution I can think of now.

            I hope that helps a bit!

            Best!

            Marius

            www.mariusjopen.world

            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