I want to add image on sale and new arrival categories

This topic has 9 replies, 3 voices, and was last updated 3 weeks, 3 days ago ago by Andrew Mitchell

  • Avatar: modestyestore
    modestyestore
    Participant
    October 29, 2024 at 16:05

    I want to add image on sale and new arrival categories, Right now it is showing only text

    Files is visible for topic creator and
    support staff only.
    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 29, 2024 at 16:22

    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

    Avatar: modestyestore
    modestyestore
    Participant
    October 29, 2024 at 19:00

    It is not Working

    Please contact administrator
    for this information.
    Avatar: modestyestore
    modestyestore
    Participant
    October 29, 2024 at 19:46

    Text is also display
    Text should not be display

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 30, 2024 at 08:45

    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

    Avatar: modestyestore
    modestyestore
    Participant
    October 30, 2024 at 11:01

    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

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 30, 2024 at 13:07

    Hello, Modestyestore,

    background-size: cover;

    Read more – https://www.w3schools.com/cssref/css3_pr_background.php

    Best Regards,
    8Theme’s Team

    Avatar: modestyestore
    modestyestore
    Participant
    October 31, 2024 at 13:25

    Thanks , It is working.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 31, 2024 at 13:25

    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

  • Viewing 9 results - 1 through 9 (of 9 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.