I’d like the buttons to align so that if a browser is resized he buttons stay the same height. Possible? Site and PW in the private.
Thank you!
Just expanding on this in the private section.
Hi,
Please give the grid row element a unique developer ID such as “btn-align” and use the below CSS
#btn-align .avia-button-center {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
}
Best regards,
Vinay
Thanks, but that doesn’t look as good as it does without the code. There’s not enough padding between the text and button and under the button. Any way to add more room?
Thanks, but if I go beyond 20px the buttons go into the words above.
Hi Pointbreakd,
Please try this code instead.
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (min-width: 990px) {
#top #btn-align .flex_column_table {
min-height: 391px;
height: 100%;
}
#top #btn-align .avia-button-center {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
}
#top #btn-align .hr-invisible, .hr-invisible .hr-inner {
height: 75px;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Thanks, but now there’s a lot of padding on the top. Any way to fix?
Fixed it – I just set the rows to align at the bottom instead of the middle. Thanks!