- This topic has 6 replies, 2 voices, and was last updated 2 years, 4 months ago by Ying.
-
AuthorPosts
-
December 7, 2021 at 1:22 pm #2041693Rudy
Hi,
I’ve read several topics on this forum and read Tom’s Code Snippets about having the same height for columns and have all the buttons align at the bottom of the container, but it just doesn’t work for me.
I can’t figure out what I’m doing wrong and I’m not advanced enough to explain everything I tried before I posted this message.
Here’s what I have right now : https://www.screencast.com/t/OMyRxcL8YMa
I’d like to have the 3 columns aligned with the buttons at the bottom.
Could you help me please ?
December 7, 2021 at 1:33 pm #2041704RudyUpdate : I just found this piece of code
.generate-columns > .gb-container, .generate-columns > .gb-container > .gb-inside-container{ height: 100%; display: flex; flex-direction: column; } .generate-columns > .gb-container > .gb-inside-container > *:last-child { margin-top: auto; }
Looks like I’m almost there, but now the image is lowered as well π
December 7, 2021 at 2:35 pm #2041730YingStaffCustomer SupportHi Rudy,
Try this CSS instead:
.home .generate-columns .gb-grid-column { flex: 1; } .home .generate-columns .gb-button-wrapper { margin-top: auto; } .home .generate-columns .gb-container, .home .generate-columns .gb-container .gb-inside-container, .home .generate-columns .gb-grid-wrapper, .home .generate-columns .gb-grid-wrapper .gb-grid-column:last-child{ height: 100%; display: flex; flex-direction: column; }
December 7, 2021 at 2:45 pm #2041740RudyDecember 7, 2021 at 3:08 pm #2041768YingStaffCustomer SupportTry add this CSS:
.home .gb-grid-wrapper > .gb-grid-column > .gb-container.custom-dynamic-image { height: unset; }
and change this CSS to:
.home .generate-columns .gb-container, .home .generate-columns .gb-container .gb-inside-container, .home .generate-columns .gb-grid-wrapper, .home .generate-columns .gb-grid-wrapper .gb-grid-column:last-child{ height: 100%; display: flex; flex-direction: column; }
to:
.home .generate-columns .gb-container:not(.custom-dynamic-image), .home .generate-columns .gb-container .gb-inside-container, .home .generate-columns .gb-grid-wrapper, .home .generate-columns .gb-grid-wrapper .gb-grid-column:last-child{ height: 100%; display: flex; flex-direction: column; }
December 7, 2021 at 3:42 pm #2041791RudyThank you very much for your time and your help π
December 7, 2021 at 4:08 pm #2041805YingStaffCustomer SupportYou are welcome π
-
AuthorPosts
- You must be logged in to reply to this topic.