- This topic has 3 replies, 2 voices, and was last updated 1 month, 2 weeks ago by Andrew Misplon.
Tagged: background images customization
- AuthorPosts
- October 13, 2024 at 2:11 pm #17897
LorilinParticipantHi 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!
LoriOctober 13, 2024 at 3:49 pm #17898
Andrew MisplonKeymasterHi 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.
October 14, 2024 at 10:52 am #17899
LorilinParticipantThanks 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!October 17, 2024 at 9:39 pm #17903
Andrew MisplonKeymasterHi Lori
Thanks for your reply. Apologies; Page Backgrounds are part of SiteOrigin Premium, you can activate the Page Background Addon at SiteOrigin > Premium Addons.
Please feel free to email [email protected] anytime a query arises.
Cheers
Andrew
- AuthorPosts
The topic ‘Different backgrounds for different pages’ is closed to new replies.