Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9958

    Hi,

    I’d like to change the background (color or image) for the portfolio main page only (not item page or the rest of the site), how can I achieve this ?

    Thanks for reply.

    #66368

    You can use the page id class to style specific pages. Have a look at the source code of your portfolio page and you’ll notice that the body element has several classes – one of them indicates the post/page id. Eg the background of the page with the id 78 can be changed with following code:

    body.page-id-78{
    background-color: #FFFFFF;
    }

    #66369

    It works like a charm, thank a lot, dude !

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

The topic ‘Change background on a specific page’ is closed to new replies.