This topic has 9 replies, 3 voices, and was last updated 3 weeks, 3 days ago ago by Andrew Mitchell
I want to add image on sale and new arrival categories, Right now it is showing only text
Hello, Modestyestore,
Thank you for reaching out to us.
Regarding your request to add images to the “Sale” and “New Arrival” categories, we would be happy to assist you. Currently, it seems that only text is being displayed, but we can guide you through the process of adding images to these categories using custom CSS code:
.etheme-category-grid-image-ghost[data-type=sale] {
background-image: url("link to image");
}
.etheme-category-grid-image-ghost[data-type=new] {
background-image: url("link to image");
}
Best Regards,
8Theme’s Team
It is not Working
Text is also display
Text should not be display
Hello, Modestyestore,
It seems that you have successfully managed to change the background image and are now asking us for a code to remove the text. Thank you for reaching out to us. Of course, we are happy to assist you. Please try the following code:
.etheme-category-grid-image-ghost span {
display: none !important;
}
Best Regards,
8Theme’s Team
Thanks a lot for support, And I am facing one more issue in same implementation.
Image size is not responsive. That means for mobile view width and Hight of image are 118px x118 px but for desktop view it is not fit
Hello, Modestyestore,
background-size: cover;
Read more – https://www.w3schools.com/cssref/css3_pr_background.php
Best Regards,
8Theme’s Team
Thanks , It is working.
Dear modestyestore,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘I want to add image on sale and new arrival categories’' has been successfully resolved, and the topic is now closed for further responses