burnyourfeelings Posted November 4, 2019 Share Posted November 4, 2019 I've tried to add background to a category but the code is not working, when i look with the inspect element its shows all like this : The i've used is this : .cForumRow.ipsDataItem[data-forumid="1013"]{ background-image: url(https://i.imgur.com/GdVi7Jq.png); background-size: cover; background-position: bottom center; min-height: 262px; } Link to comment Share on other sites More sharing options...
opentype Posted November 4, 2019 Share Posted November 4, 2019 Looks like there are competing declaration. Would be easier to find the problem if you post a link to the page. Link to comment Share on other sites More sharing options...
opentype Posted November 4, 2019 Share Posted November 4, 2019 Try: .cForumRow.ipsDataItem[data-forumid="1013"]{ background-image: url('https://i.imgur.com/GdVi7Jq.png') !important; background-size: cover !important; background-position: bottom center !important; min-height: 262px; } Link to comment Share on other sites More sharing options...
burnyourfeelings Posted November 4, 2019 Author Share Posted November 4, 2019 1 minute ago, opentype said: Try: .cForumRow.ipsDataItem[data-forumid="1013"]{ background-image: url('https://i.imgur.com/GdVi7Jq.png') !important; background-size: cover !important; background-position: bottom center !important; min-height: 262px; } The code is working, thanks mate 😛 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.