Change Out of Stock Label Color and Text

This topic has 3 replies, 2 voices, and was last updated 2 years, 4 months ago ago by Hostelion Digital

  • Avatar: Hostelion Digital
    Hostelion Digital
    Participant
    July 28, 2022 at 19:16

    Dear 8Theme,

    I want to change “Out of Stock” Label Color and Text Color, how can I do this as I don’t see an option? https://prnt.sc/eEH15WVAYMFM

    Thanks a lot!

    2 Answers
    Avatar: Awais Ahmed
    Awais Ahmed
    Participant
    July 29, 2022 at 05:28

    Hello, @Hostelion Digital,

    You have to use Custom CSS for changing its background and text color, Please copy and paste the below-given CSS code to XStore >> Theme Settings >> Theme Custom CSS >> Global Custom CSS and change the color in the given code as per your requirements.

    p.stock.out-of-stock {
        background-color: red !important;
        color: yellow !important;
    }

    Regards 8Themes Team.

    Avatar: Hostelion Digital
    Hostelion Digital
    Participant
    July 29, 2022 at 12:06

    Wow, you’re awesome! It worked! Thanks a lot! <3

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

The issue related to '‘Change Out of Stock Label Color and Text’' has been successfully resolved, and the topic is now closed for further responses

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