Site logo

Archived topic

display content background image to ONLY home page

1 reply · Started by Cynthia on April 3, 2022

Viewing posts 1–2 of 2

I have a background image currently set to Content in the Customize Panel, however I don't want that background image on all of my subpages (just the home page)

How do I use GP Elements to apply the background image to only just the home page?

Hi Cynthia,

You can try placing all the Blocks in your Home page inside one Container Block instead, and then set a Background image as such: https://share.getcloudapp.com/yAuKyDvB

Alternatively, you can add this custom CSS in Appearance > Customize > Additional CSS:

.home .site-content .inside-article {
    background-image: url('https://leakdetectionandrepairpros.com/wp-content/uploads/2022/02/main-water-line-pipe-leak-las-vegas.jpg');
}

Kindly replace the url to your image's URL.

Hope this clarifies. :)

This archived topic is closed to new replies.