# Extend background colors to the edge of the page

> By default, all content inside a page has a small padding around it, as illustrated in the image below.

Source: https://tadabase.com/docs/learn/set-background-colors-to-the-edge-of-a-page  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Aug 5, 2025.

By default, all content inside a page has a small padding around it, as illustrated in the image below.

![Screenshot for “Set background colors to the edge of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/scaled-1680-/padding-left-right.jpg)

To remove that padding and set the background to "bleed" all the way to the end of the page, you may add this CSS code to your page/layout:

```css
.container, .container-fluid {
     padding-right: 0px; 
     padding-left: 0px; 
}
```

Copy the above CSS code and paste it into the CSS section of your page or layout:

![Screenshot for “Set background colors to the edge of a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730098683-layout-css.png)

Applying the CSS to a page will apply this change to that page while applying the CSS to a layout will apply this change to all pages nested within that layout.

As you can see in the image below, the CSS used resulted in the background color bleeding to the edges of the page.

![Screenshot for “Set background colors to the edge of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/scaled-1680-/image-1593812731189.png)
