Customizing background to one page only

  • Author
  • #1371294


    How do i change the background on pages related only to festival pages, without changing the whole website?

    The blog I need help with is



    This thread will be moved to the CSS Forum for you. Please do not create a duplicate thread.



    I’m not sure about this but I think I saw that you can edit the css for a specific page by using:
    `.page-id body {
    background: background;

    I could be wrong but it’s worth a shot.


    That’s right! I find that it often helps to look at a specific example.

    I found this post on your blog that mentions a festival:

    If you look at the page source for that post, you’ll find that one of the body classes is “postid-217” so what you can do is use that inside a CSS selector like this:

    body.custom-background.postid-217 {
    	background: orange;

    Change the color name to a color code of your choice:

The topic ‘Customizing background to one page only’ is closed to new replies.