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.
Change background on a specific page
3 posts from 2 voices-
Posted 1 year ago #
-
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; }Posted 1 year ago # -
It works like a charm, thank a lot, dude !
Posted 1 year ago #
Topic Closed
This topic has been closed to new replies.














