• Resolved francescomas

    (@francescomas)


    Hello everyone!

    on my site a padding appears on the right and left side of each page, due to the following piece of code:

    .site {
        max-width: 1180px;
        padding-right: 2.33050%;
        padding-left: 2.33050%;
    }

    In order to eliminate this padding in mobile view, I entered this code in the css editor:

    @media screen and (max-width:720px) {
        .site {
            padding-right: 0%;
            padding-left: 0%;
        }
    }

    Padding disappeared, but now site width is slightly larger than screen. How can I get rid of this problem?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Try just a little bit of padding in the place, like 0.5%

    Thread Starter francescomas

    (@francescomas)

    I followed your advice, but it only worked by setting 1.0%. Better than nothing, like we say in Italy. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site width after removing padding’ is closed to new replies.