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 754 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
    StarcS
    Starc
    wrote on last edited by
    #1

    Hi Armin. Not fixeable?

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on 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
        StarcS
        Starc
        wrote on 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
          StarcS
          Starc
          wrote on 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
            arminunruhA
            arminunruh
            Global Moderator
            wrote on 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
              StarcS
              Starc
              wrote on 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
                arminunruhA
                arminunruh
                Global Moderator
                wrote on 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
                  StarcS
                  Starc
                  wrote on last edited by
                  #8

                  yesssss! thanks

                  1 Reply Last reply
                  0
                  • StarcS
                    StarcS
                    Starc
                    wrote on 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

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