changing background between areas (posts, widgets)

Community Forums Forums Design Tips and Tricks changing background between areas (posts, widgets)

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 1 year, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18896

    mailalon
    Participant
    Post count: 6

    Hi,

    I would like to have instead of the white background a background image (i mean that the spacing between elemts will show the backgorund like in here :http://www.scholastic.com/kids/stacks/games/) between the widgest and the posts

     

    any idea how to do so ?

    #20980

    cehwitham
    Participant
    Post count: 396

    Basically you’ll need to set a default background image in style.css like:

    body { background-image:my-image.png }

    Then add a background image for each page you want differently, you can do this using the classes added to the body element ie:

    body.page-id-15 { background-image:my-image-15.png }

    or;

    body.category-books { background-image:my-image-2.png }

    Make sure you upload your background images to the web server and update the background image links to point at them.


    Twitter: cehwitham Web: cehwitham.com

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

You must be logged in to reply to this topic.