[Resolved] Different backgrounds for different pages

  • Author
    Posts
  • #17897

    Lorilin
    Participant

    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

    #17898

    Andrew Misplon
    Keymaster

    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.

    #17899

    Lorilin
    Participant

    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!

    #17903

    Andrew Misplon
    Keymaster

    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

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Different backgrounds for different pages’ is closed to new replies.

Scroll to top