• Resolved althafrahman

    (@althafrahman)


    Hi there!

    For building a homepage, I have selected ‘Full Width’ for container type in meta box of the page, but I still see some padding left & right of the page. When I inspected the pages, the padding is due to the CSS given below.

    .container {
    padding-right: var(–bs-gutter-x,.75rem);
    padding-left: var(–bs-gutter-x,.75rem);
    }

    I tried putting the below code in custom CSS, but it applies to all the posts as well.

    .container {
    padding-right: 0px;
    padding-left: 0px;
    }

    How can I remove the padding for only the ‘Pages’ not the posts?

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

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove laft & right padding of full-width container’ is closed to new replies.