Site logo

Archived topic

Mobile only width change on container

3 replies · Started by Robert on March 15, 2019

Viewing posts 1–4 of 4

I'm trying to figure what the CSS would be in order to have the container width for mobile, different than what's set in the customizer. Ideally I need it to be about 280 px or 90% width - but only for mobile. I can't seem to get it to apply right.

Thanks for any help. :)

Hi there,

you can try this:

@media (max-width: 767px) {
    body .grid-container {
        max-width: 280px;
    }
}

Thank you! That seems to be working.

Glad to be of help.

This archived topic is closed to new replies.