[Resolved] Lightweight grid columns – Equal height

Home Forums Support [Resolved] Lightweight grid columns – Equal height

Home Forums Support Lightweight grid columns – Equal height

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #328996
    Steven

    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

    #329151
    Tom
    Lead Developer
    Lead Developer

    Hi there,

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

    #329174
    Steven

    Hi

    I want a grid (3×3) 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.

    #329380
    Tom
    Lead Developer
    Lead Developer

    Is that not what you currently have?: https://www.screencast.com/t/nBXKEssi8

    #329725
    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.

    #329981
    Tom
    Lead Developer
    Lead Developer

    Perfect 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.