background image on 1 article

Home Forums Support background image on 1 article


I want a background image on only 1 article.
I put this in my custom.css but it didn’t work.

article.item.item-page {
background: url('images/tn_Houten-planken_1.jpg');
}


Can I take a look the article page to check ? the article-id class added automatically via body class, you can refer the css code like

.article-id .article.item.item-page {
//do something
}

You must be logged in to reply to this topic.