[Resolved] Container width 1350px margin left and right

Home Forums Support Container width 1350px margin left and right

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1375117
    Olivier

    Hello,

    I would like to set the width of the site’s container to 1350px, the problem is that for example on a 15 inch laptop the screen width is 1349px and I have no margin to the left and right of the content and from the main menu. Everything is glued completely against the sides of the screen. How can I have 20px left and right margin?

    Cordially.

    #1375286
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Hard to tell without seeing your site, but you could try this:

    .container {
        padding: 0 20px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.