[resolved] Faded Image as page background (3 posts)

  1. nic_137
    Posted 1 year ago #

    I'm almost finished with my website you'll be pleased to know!

    Is it possible to have an image as the background for one page only? And have it faded into the background?


  2. ronangelo
    Theme Author

    Posted 1 year ago #

    I assume you mean background image for the Post and not the one outside of the #container. You could target an individual page by using its unique ID.

    Example CSS:

    body.page-id-18 article.type-page {
       background-image: url('http://example.com/sample.jpg');

    In the example above, page-id-18 is the class unique to the specific page. You can see yours by loading your page then "view source". You can find it on the <body> tag. If you need help with this you have to post a link to your specific page so we could take a look.

    I'm not sure what you mean by "having the background fade into the background". You could simply use a .png image. That image format allows you to save transparency.

  3. nic_137
    Posted 1 year ago #

    Thanks, I'll go look into this.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.