Raw Content Shape Customizations

On my site I have an “ecourse” section right under the main slider… it has two boxes… it was made with the raw content tool. I wanted to know if I could get rounded corners on those two boxes, I can’t seem to figure it out.

Also further down there is a “it’s what we do” section there are four column in a grid, i wanted to know if there was a way to round just the top left corner, top right, bottom left and bottom right… so the outer corners would be rounded.

Hi there,

Please find this code in the custom CSS:

.x-bnb-image-grid > a {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex: 1 1 360px;
    flex: 1 1 360px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin: 10px;
    min-height: 300px;
    font-size: 2rem;
    box-shadow: 0 0.25em 1.5em rgba(0, 0, 0, 0.35);
}

then update it to:

.x-bnb-image-grid > a {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex: 1 1 360px;
    flex: 1 1 360px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin: 10px;
    min-height: 300px;
    font-size: 2rem;
    box-shadow: 0 0.25em 1.5em rgba(0, 0, 0, 0.35);
    border-radius: 5px;
}

Hope this helps.

Thanks, it worked wonders!!!

Would you be able to help me with the second part?

there is a “it’s what we do” section that four column grid, i wanted to know if there was a way to round just the top left corner, top right, bottom left and bottom right… so the outer corners would be rounded.

Hi there,

Glad it worked, please add this CSS too


    .page-id-35 #x-section-5 .x-container:nth-child(2) .x-column:first-child {
        border-radius: 30px 0px 0px 0px;
    }

    .page-id-35 #x-section-5 .x-container:nth-child(2) .x-column:last-child {
        border-radius: 0px 30px 0px 0px;
    }


    .page-id-35 #x-section-5 .x-container:nth-child(3) .x-column:first-child {
        border-radius: 0px 0px 0px 30px;
    }

    .page-id-35 #x-section-5 .x-container:nth-child(3) .x-column:last-child {
        border-radius: 0px 0px 30px 0px;
    }

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.