WordPress.org

Support

Support » Themes and Templates » [Resolved] Faded Image as page background

[Resolved] Faded Image as page background

  • Hi,
    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?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ronangelo
    Participant

    @ronangelo

    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.

    Thanks, I’ll go look into this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Faded Image as page background’ is closed to new replies.