Site logo

Archived topic

GB button bottom alignment

5 replies · Started by Radek on January 14, 2021

Viewing posts 1–6 of 6

Hi, what is best solution to vertical align buttons to bottom ? GPP + GB, grid with same height columns, but different content height. Thanx a lot. Radek

Hi there,

for that layout you could do this:

.align-buttons .gb-inside-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.align-buttons .gb-inside-container .gb-button-wrapper:last-child {
  margin-top: auto;
}

Then select the Grid Container block ( thats the parent block not the individual grid items ), an in Advanced > Additional CSS Class(es) add: align-buttons

Perfect, that class do it ;)
Thanx a lot.
Radek

Glad to be of help

This archived topic is closed to new replies.