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. fixed height for text elements px, % or vh

fixed height for text elements px, % or vh

Scheduled Pinned Locked Moved General Discussion
9 Posts 3 Posters 145 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.
  • V Offline
    V Offline
    veitsons
    wrote last edited by
    #1

    Hi Armin and team,

    is there any setting I can do to have text elements with different text length all the same height?

    Would be great to have this as a new feature in the sidebar:
    fixed height for text elements (px, %, or vh).

    See screenshot. Many thanks!

    Bildschirmfoto 2026-04-29 um 09.51.57.png

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

      maybe it would be better to have a feature where it says "same height" but it doesn't have to be like a fixed height because the text may get smaller or bigger.

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

        so we will get this new setting in the side bar when you click on an empty part of the row:

        grafik.png

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

          "same height text elements"

          1 Reply Last reply
          0
          • V Offline
            V Offline
            veitsons
            wrote last edited by
            #5

            Great! Thank you!

            1 Reply Last reply
            0
            • O Offline
              O Offline
              olidie
              wrote last edited by olidie
              #6

              @arminunruh will this also work to get a text element and an image within one row to stay the same height?

              I am currently struggling with this issue. Assigning a fixed pixel height to the image to level it with a text element shows different results in different browsers.

              1 Reply Last reply
              0
              • V Offline
                V Offline
                veitsons
                wrote last edited by veitsons
                #7

                This works great for text elements only. Is it possible to make this work to stack elements e.g. I use an image and text element within a stack (stack has rounded corners) or multiple text elements below themselves.

                It is possible to do a workaround with two rows and paddings.

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

                  grafik.png

                  Okay, this will be part of the next update.

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    veitsons
                    wrote last edited by
                    #9

                    Great! Thank you very much @arminunruh

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    For 1on1 paid Lay Theme Coaching, contact: audrey@cyberslayers.work.

                    We also code custom websites or custom Lay features.
                    šŸ’æ Email us here: šŸ’æ
                    info@laytheme.com

                    Our Web Development company: 100k.studio

                    Want to tip me? https://www.paypal.com/paypalme/arminunruh

                    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