Lorilin Oct 13, 2024 · 2:11 pm #17897 Hi Andrew, I hope you’re doing great!
I have a question about specifying page background images for different pages. In the theme design customizer content section I have specified a background image, and that’s working fine. But on certain pages I might like to have a solid color page background, or perhaps a different background image altogether. I’ve not found a way to easily do this…do you have any advice for me? Maybe with custom CSS? I do use the Site Origin Premium plugin if there is anything there that could help, but I’ve not seen anything myself.
Thanks in advance, and have a great day!
Lori
Andrew Misplon Puro Oct 13, 2024 · 3:49 pm #17898 Hi Lori
Thanks for getting in touch. Here are two examples you can use in your Custom CSS:
.page-id-1719 .site-content {
background: black;
}
.page-id-1719 .site-content {
background-color: #fff;
background-image: url("https://demo.purothemes.com/ultra/wp-content/uploads/sites/3/2016/07/a-trip-to-the-city.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
1719 is the page ID. You can find the page ID by editing a page and checking the URL, it’ll be the only number there.
I’ll suggest your request as an addon in SiteOrigin Premium for the future. Thanks again.
Lorilin Oct 14, 2024 · 10:52 am #17899 Thanks so much, Andrew! That was faaaaast! And again, apologies for the newb question. I only need to change things on my site every so often, so I basically have to relearn stuff every time. You’re always so nice in your answers, and I really appreciate it!
Cheers,
Lori
P.S: And yes, it would be great if specifying page backgrounds were part of the site origin plugin!
Andrew Misplon Puro Oct 17, 2024 · 9:39 pm #17903 Hi Lori
Thanks for your reply. Apologies; Page Backgrounds are part of SiteOrigin Premium, you can activate the Page Background Addon at SiteOrigin > Premium Addons.
Page Background
Please feel free to email [email protected] anytime a query arises.
Cheers
Andrew