Home Forums WoodMart support forum How can i change text color out of stock

How can i change text color out of stock

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #64041

    Vincentesa
    Participant

    Hello is there an CCS code or option how i can change the color of out of sale. This is for product grid and on product detail page. I send some attachments so you can see. I write the text in dutch ”Tijdelijk niet leverbaar” what means out off stock.

    Links to pages:
    https://gecona.nl/product/waterpijp-pumpkin23cm-rood/
    https://gecona.nl/product/adalyalove-66/

    Can you help me white this?

    Greet.

    #64051

    Hello,

    This is possible to do with CSS, please add this code to Theme Settings > Custom CSS

    .woocommerce div.product .out_of_stock_color {
        color: c;
    }

    Please replace this color #c6c6c6 with that one you need.

    Best Regards

    #64053

    Vincentesa
    Participant

    Hello Elise,

    It does not change the colors of the text.
    This is what i did.

    .woocommerce div.product .out_of_stock_color {
    color: #ffffff
    }

    Is this correct?

    Greets,
    Vincent

    #64067

    Hello,

    Try this one:

    .woocommerce div.product .out_of_stock_color {
    color: #ffffff;
    }

    Best Regards

    #64071

    Vincentesa
    Participant

    No luck yet.

    Do you have something else?

    Greets

    #64075

    Hello,

    Please try this one

    .product-image-summary .stock, .variations_form .stock {
        color: yellow;
    }

    If the code does not work, please provide your site admin access.

    Best Regards

    #64079

    Vincentesa
    Participant

    Hello,

    Herby, Still no luck for me. Hope you can help me out.

    Greets.

    #64105

    Hello,

    Your CSS has errors that is why code added after is not workable. Please check code on lines 15-18, replace the color as per your needs. Correct your errors in CSS.

    Best Regards

    #64111

    Vincentesa
    Participant

    Hello,

    Im realy glad for help. It works now. What can i do about the errors? Because all of the CSS codes i get from you guys. Can you help me to solve this?

    Greets.

    #64142

    Hello,

    The CSS code provided by our guys do not contain any errors nevermind I will help you however you have modified the Dashboard I cannot see the Theme settings http://prntscr.com/jxpa4m

    If you have installed any plugins deactivate them.

    Best Regards

Viewing 10 posts - 1 through 10 (of 10 total)