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

    Hi,

    I noticed the width of the responsive container (for mobile devices) is set to 85% as per the code below coming from grid.css:

    @media only screen and (max-width: 767px)
    .responsive #top #wrap_all .container {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    float: none;
    }

    I tried to change this to 95% (I like this width a bit better) adding the following code on custom.css but for some reason it does not work, the width remains at 85%. Is there any other way to change it?

    @media only screen and (max-width: 767px)
    .responsive #top #wrap_all .container {
    width: 95% important;
    max-width: 95% important;
    }

    Thanks!

    • This topic was modified 8 years, 9 months ago by gvidano.
    #460452

    Hey gvidano!

    Please go to Enfold theme options > General Layout > Dimensions and adjust it as needed. You do not need to use custom CSS

    Best regards,
    Yigit

    #460457

    Thanks, but that only changes the dimensions for desktop, no matter what ratio I use there the .container on mobile remains at 85% and I would like to make it wider..

    #460466

    Nevermind, I figured it out, it worked by removing the !important from the code.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Width of Responsive Container’ is closed to new replies.