Home › Forums › WoodMart support forum › Category Tile Overlay
Category Tile Overlay
- This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 31, 2020 at 11:04 am #170774
Danny96ParticipantHi, I wish to change the colour of the overlay for the first 3 categories and have the next 3 a different colour. I currently have this code ‘ div.cat-design-center .wrapp-category:before,
.wrapp-category:before {
background-color: rgba(69, 113, 91, 1);
}
‘ which changes the overlay colour for all the categories, I just want this applied to the first 3 categories though (I will attach a screenshot showing the 3 I mean).Any advice on how to achieve this would be greatly appreciated, thanks!
Attachments:
You must be logged in to view attached files.January 31, 2020 at 1:28 pm #170795
Aizaz Imtiaz AwanKeymasterHello,
I saw the screenshot you added. You cannot achieve your requirements with Custom CSS
Because it uses the same classes that’s why the changes you are trying to make effect all the categories.You need to create separate rows for each set of 3 categories you want to add background color.
From Edit page with WPBakery Page Builder >> Product Categories.Screenshot for Clarification: https://www.screencast.com/t/DhnBpLmHFj
Then you can edit each row and add background color accordingly.
Screenshot for Clarification: https://www.screencast.com/t/ZiUG3iHJBest Regards.
January 31, 2020 at 1:47 pm #170798
Danny96ParticipantHi, I only want to change the overlay colour of the image, not the background colour of the row. Is this possible? Thanks
January 31, 2020 at 2:45 pm #170828
Aizaz Imtiaz AwanKeymasterHello,
You can apply overlay effect but this is not possible to apply that effect on 3 of them and did not applied it on other categories. Because all those categories included in the same element.
You can use the below CSS code in page CSS area in which you display those categories:
.cat-design-center .wrapp-category:before, .wrapp-category:before ,.cat-design-replace-title .wrapp-category:before { background-color: blue; }
I used blue color just to set an example for you. You can use any other. That overlay will display on hover. On hover dark overlay shown with defined color otherwise the color remains light.
Screenshot for clarification: https://jmp.sh/7Y2YIU2
Best Regards.
-
AuthorPosts
Tagged: category overlay, overlay, product categories
- You must be logged in to create new topics. Login / Register