# Use an image as a page background

> This article will discuss how to set a background image to a page using custom CSS.

Source: https://tadabase.com/docs/learn/using-an-image-as-background-for-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.

This article will discuss how to set a background image to a page using custom CSS.

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730114794-Background-img.png)

Go to the Page Builder, select the page you wish to customize, and add an image component to the page.

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730114936-img-component.png)

Use the image component to upload the image you wish to use for your page background. Disable the image from popping up when clicked by setting the **Enable Modal Popup** setting to **No**. Then click **Ok**.

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730115291-add-img.png)

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730115271-upload-image.png)

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730115242-enable-model-popup.png)

Next, please Click over the uploaded image on the page, click on its gear Options. A new Design window will open up with several tabs to customize the image's design. Select the **CSS** tab and copy and paste the following within the **Additional CSS Classes** section:

```html
background-image
```

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730116058-add-css-classes.png)

Click on Update and Save and then add the following code to the CSS section of the page.

```css
.background-image{
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: -12;
}
img.background-image{
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
```

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730116606-csss.png)

Once you click Save CSS, the uploaded image will appear as the background image for this page on the live app.

![Screenshot for “Using an image as background for a page”](https://d10w0xb1xxwn2r.cloudfront.net/2ejlZ5BNo9/1730114794-Background-img.png)
