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. Bug Reports
  3. content max width stopped working with pages with a section with height in percentage or browser height

content max width stopped working with pages with a section with height in percentage or browser height

Scheduled Pinned Locked Moved Bug Reports
9 Posts 2 Posters 56 Views 1 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.
  • StarcS Offline
    StarcS Offline
    Starc
    wrote last edited by
    #1

    Hi Armin. Not fixeable?

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

      Hey man, I'm happy to help here and fix this, but I would need a link to where I can see the issue.

      1 Reply Last reply
      0
      • StarcS Offline
        StarcS Offline
        Starc
        wrote last edited by
        #3

        Hi, I think it’s a global bug because it also happens in a fresh local installation.

        Screenshot 2025-10-17 alle 09.16.19.png

        Same page with this max width of content setting

        Custom height for the row:

        Screenshot 2025-10-17 alle 09.19.10.png Screenshot 2025-10-17 alle 09.19.22.png

        Whithout custom height for the row:

        Screenshot 2025-10-17 alle 09.20.32.png

        Screenshot 2025-10-17 alle 09.19.42.png

        The check for apply max width for logo and menu always work.

        1 Reply Last reply
        0
        • StarcS Offline
          StarcS Offline
          Starc
          wrote last edited by Starc
          #4

          The max-width setting isn’t applied to the page content when I have a row with a custom height, whether it’s set in pixels, vh, or %.

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

            will be fixed with the next update.

            basically this css was missing from lay theme:

            .row.rowcustomheight .row-inner{
            	position: relative;
            }
            

            You can also enter the CSS now in Lay options - custom CSS, and then it should work.

            1 Reply Last reply
            1
            • StarcS Offline
              StarcS Offline
              Starc
              wrote last edited by
              #6

              your CSS works for a row with some height in pixel or a vh lower than 100vh.

              I take a look to the inspector and for the 100vh rows there is another class.
              It works for all rows with this:

              .row.rowcustomheight .row-inner{
              position: relative;
              }
              .row._100vh .row-inner{
              position: relative;
              }

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

                ah, so you need:

                .row.rowcustomheight .row-inner{
                	position: relative;
                }
                .row._100vh .row-inner{
                        position: relative;
                }
                

                will be fixed with the next update

                1 Reply Last reply
                0
                • StarcS Offline
                  StarcS Offline
                  Starc
                  wrote last edited by
                  #8

                  yesssss! thanks

                  1 Reply Last reply
                  0
                  • StarcS Offline
                    StarcS Offline
                    Starc
                    wrote last edited by
                    #9

                    With this code,

                    .row.rowcustomheight .row-inner{
                    position: relative;
                    }
                    .row._100vh .row-inner{
                    position: relative;
                    }

                    The X-Y percentage offset follow the 100% with container, not considering max width
                    Screenshot 2025-10-22 alle 13.07.40.png

                    Not a problem for me yet, i ll wait for your update, please consider this

                    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

                    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