• Resolved kanobee

    (@kanobee)


    I have several pages that I would like to have posted with different background colors.

    All I have is a CSS Style command as follows:

    .page-id- #198 . {
    background: url (paste in URL of background stype page) top left repeat !important
    }

    Is there a better way???

    Kanobee

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey kanobee,

    Are you wanting to apply a different background to each individual page? If so, you will have to specify CSS for each page, although some themes do allow you to do this from within WordPress (still lots of CSS code, but saves time).

    Or are you just asking how to specify a CSS background? If so, it’s generally better to apply the background code to the body element.

    Thread Starter kanobee

    (@kanobee)

    Hey Odai!

    I have no problems doing the CSS coding route. I just thought that WP would be smart enough to let us do this without the code.., but evidently not.

    I quote you

    “although some themes do allow you to do this from within WordPress (still lots of CSS code, but saves time.” OK Now read on…

    What do you mean by ‘some themes’ I seem to understand that there are different kinds of backgrounds. one for the site itself, in general applied to all pages. And the other backgrounds may be different for each page. (the white background standard area in each page.)

    Thanks

    Chris

    Each post in WordPress can have a “Featured Image“, chosen by the author while writing the post. It’s up to the theme how to use this image – some ignore it, some use it as a banner at the top of the page, and some use it as a background for the page.

    Adding this functionality to an existing theme (using a Child Theme of course) shouldn’t be too hard if you know basic PHP. On second thought, this wouldn’t need too much additional CSS, since it would be written for each post as requested.

    Thread Starter kanobee

    (@kanobee)

    OK thanks I understand. You made it clear to me.

    Kanobee

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I create a posting area Background’ is closed to new replies.