Hi,
is it possible to set a max width in px for a grid row? For example i have a 1/2 row and need to set a max width vor every row. And if i have for example a 1/4 grid row can i change the max width for a specific row?
Thanks,
Banshee350
Hey Banshee350,
I think it’s possible using Quick CSS and make sure that Custom Css Class field is enabled: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements
You can for example, edit a Grid Row and set Custom Css Class to myrow then in Enfold > General Styling > Quick CSS, add this css code:
#top .myrow {
max-width: 90%;
margin-left: auto;
margin-right: auto;
}
this will set the maximum width to 90%. Just adjust the value.
Hope this helps.
Best regards,
Nikko
Thanks Nikko, works fine for my case.
Hi Banshee350,
We’re glad that we could help :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko