content overflowing when there is row padding
-
I am experiencing a really annoying issue, where if I add top/bottom row padding, then the content inside the row overflows the bottom. In particular if I use the vertical lines. The code I am using is as follows. What I am doing wrong here?:
.row_padded { background-color: #f79b89; padding-top:100px; padding-bottom:100px; }Alternatively is there a better way to add row padding? I keep finding that content is running to close to the top/bottom of rows when I have specified a row background colour.
-
yea you can click on a row, then in the sidebar:

can you try that instead of the css?
-
ah yea now i understand what you mean!! ok i will fix it.
until then use this CSS
.col.type-vl.absolute-position{
top: 0!important;
}in lay options -> custom css & html
or
.row_padded .col.type-vl.absolute-position{
top: 0!important;
} -
Thanks @arminunruh that sort of works. The issue looks to be that the vertical lines now touch the very top/bottom edge of the row once padding is added. What I am trying to achieve is for rows to have padding, and vertical lines to inherit this same padding when placed in a row, rather than ignoring this padding. if that makes sense?
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:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it