Archived topic
Align GB Button to Bottom of Stack
3 replies · Started by Ian on January 14, 2021
Is there a simple way to align buttons to the bottom of the stack? Reading the KB, I think there is a way to do this but can someone provide the proper CSS to make this happen? Have provided the website for you to review. It's the 4 box grid in the middle of the page. Thanks!
Hi,
You can add this CSS:
.gb-button-wrapper {
margin-top: auto;
}
I've checked your site. Have you sorted this out?
You seem to have something similar that adds a CSS similar to this on your child theme's stylesheets.
Let us know.
Hi Leo,
I found an older post of yours and manually dug up the right GB Container(s) and added the CSS to the child's styelsheet. It worked but not sure I can always do this.
May I ask, do you add the CSS you provided to the class of the button or the grid container?
Hi there,
try the method here:
https://generatepress.com/forums/topic/gb-button-bottom-alignment/#post-1618306
You only then to add a single CSS class to the Grid Container Block and the single CSS rule will do the rest.