Change media width in renew

Hi, it’s my second time asking for support, please be gentle :grimacing:

In Renew, breakpoints goes between certain pixels,
I would like to change column stacking, on one page (home page), something like this

/* On screens that are 1159px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1159px) {
.row {
flex-direction: column;
}
}

But I can’t seem to make it work, what (of course a lot) am I doing wrong?

Kind regards
Soejon

Hi @MeesterOntwerpers,

Thanks for reaching out.

Should be like this :slight_smile:

@media screen and (max-width: 1159px) {
.home .x-column {
width: 100% !important;
margin: inherit 0px !important;
float: none !important;
}
}  

Thanks!

Hi @Rad,

Thanks for your quick response, unfortunately it does not seem to do the trick,
would you mind take a look at the site I’m working on?

Kind regards
Soejon

Hi There,

Thanks for the details.

Please add this CSS instead of the above.

@media screen and (max-width: 1159px) {
.x-section .x-container.marginless-columns>.x-column {
    display: block !important;
    width: 100% !important;
}
}

Hope this helps!

1 Like

Hello @basanta,

Thank you very much! Solved!

Kind regards
Soejon

you are most welcome!

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