[Resolved] Mobile only width change on container

Home Forums Support [Resolved] Mobile only width change on container

Home Forums Support Mobile only width change on container

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #840373
    Robert

    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. 🙂

    #840534
    David
    Staff
    Customer Support

    Hi there,

    you can try this:

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

    Thank you! That seems to be working.

    #840740
    David
    Staff
    Customer Support

    Glad to be of help.

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