Site logo

Archived topic

Lightweight grid columns - Equal height

5 replies · Started by Steven on June 5, 2017

Viewing posts 1–6 of 6

Hi Tom

I would like to build a 3-column grid with rows of an equal height but a get an error that I can’t figure out myself based upon previous topics. I’ve used the plugin an some custom CSS for the padding, margin and background color. It seems each row get a height of (100%-40px) from the bottom of the page.

See: https://www.test-server.gandatec.com/206-2/

Custom CSS:

@media (min-width: 768px) {
.inside-grid-column {
height: calc(100% - 40px);
}

.sda-card {
box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.19);
background-color: #f7f8f9;
border-radius: 6px;
padding: 20px;
}

.sda-col-1 {
margin-left: 0px;
margin-right: 10px;
}

.sda-col-2 {
margin-left: 5px;
margin-right: 5px;
}

.sda-col-3 {
margin-left: 10px;
margin-right: 0px;
}
}

Tnx in advance!

Steven

Hi there,

Not really sure what I'm looking for. The no spacing between boxes?

Hi

I want a grid (3x3) with equal row height regardless of the columns content. So equal white boxes with some margin.
See the grid with features on this page for example: http://www.yools.be/en/features.

Tnx!
Steven.

Hi Tom

Almost, but I figured it out.

It seems it was just the margin in the custom CSS which was to small. I increased the margin in the custom CSS from 40px to 55px and it looks perfect to me. See: https://www.screencast.com/t/kdk4bKtMz2vB

.inside-grid-column {
height: calc(100% - 55px);
}
Thanks for your replies.

Perfect :)

This archived topic is closed to new replies.