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. Issue aligning site title and menus on the same baseline

Issue aligning site title and menus on the same baseline

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

    Can someone help me figure out what I've done wrong here:

    https://sarabjarland.com/af-nw-homepage/

    The site title (the name in the centre) does not share the same baseline/is not aligned perfectly with the two menus either side of it. I've intentionally moved them closer together to help highlight it. It's driving me mad! The 'Space top' in both cases is set to 20px and the typefaces are exactly the same (from the same 'Text format').

    I'm sure I've missed something somewhere, but I've been scratching my head for a while now trying to figure it out. Grateful for anyone who can help me out of my misery!

    A 1 Reply Last reply
    0
    • A Alex HH

      Can someone help me figure out what I've done wrong here:

      https://sarabjarland.com/af-nw-homepage/

      The site title (the name in the centre) does not share the same baseline/is not aligned perfectly with the two menus either side of it. I've intentionally moved them closer together to help highlight it. It's driving me mad! The 'Space top' in both cases is set to 20px and the typefaces are exactly the same (from the same 'Text format').

      I'm sure I've missed something somewhere, but I've been scratching my head for a while now trying to figure it out. Grateful for anyone who can help me out of my misery!

      A Offline
      A Offline
      Alex HH
      wrote on last edited by Alex HH
      #2

      Sharing some screen grabs as I'm working on the site at the moment so the link above might not work:

      Image of site title (the name in the centre) not aligned with the two menus either side of it.
      Screenshot 2023-06-22 at 12.54.43.png
      (I've intentionally moved them closer together to help highlight it.)

      I noticed today that when viewed through the 'customiser' preview it looks lined up, but that is not the case when visiting the website.

      Screenshot-2023-06-22-at-12.55.39.jpg

      A 1 Reply Last reply
      0
      • A Alex HH

        Sharing some screen grabs as I'm working on the site at the moment so the link above might not work:

        Image of site title (the name in the centre) not aligned with the two menus either side of it.
        Screenshot 2023-06-22 at 12.54.43.png
        (I've intentionally moved them closer together to help highlight it.)

        I noticed today that when viewed through the 'customiser' preview it looks lined up, but that is not the case when visiting the website.

        Screenshot-2023-06-22-at-12.55.39.jpg

        A Online
        A Online
        alasdair17
        wrote on last edited by
        #3

        @Alex-HH hey, yeah I've noticed this as well that despite sharing the same input values they are slightly offset. I just adjust them separately by eye to line up so site title could be 20px but menu is 18px and they appear aligned. Not sure why but if you experiment with different values on each setting you can get them lined up.

        A 1 Reply Last reply
        0
        • A alasdair17

          @Alex-HH hey, yeah I've noticed this as well that despite sharing the same input values they are slightly offset. I just adjust them separately by eye to line up so site title could be 20px but menu is 18px and they appear aligned. Not sure why but if you experiment with different values on each setting you can get them lined up.

          A Offline
          A Offline
          Alex HH
          wrote on last edited by
          #4

          Thanks @alasdair17 this is exactly what I ended up doing too!

          1 Reply Last reply
          1
          • arminunruhA Online
            arminunruhA Online
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            i think this can happen if you use a different font or different fontsize for the site title and the menu

            for you that doesnt seem to be the case

            for me it seems to work properly:

            Screenshot 2023-06-30 at 18.04.44.png

            i use the same font and font size for site title and menus

            maybe it has to do with the lineheight. maybe you use a textformat for one and dont use a textformat for the other

            in your link it seems you have created a different design so i cant check

            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
            arminunruhA
            arminunruh
            L
            lulu.ask.
            A
            alasdair17
            W
            wyssseb
            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