Recolour the "Out of stock" / "In stock" texts?

This topic has 5 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Stan Russell

  • Avatar: bikinha
    bikinha
    Participant
    June 1, 2016 at 09:07

    Hi 8theme.

    I would like to recolour the text showing then you chose a variation of a products.

    “In stock” should be green and out “of stock red”.

    Is this possible with custom css or how can i do it?

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: bikinha
    bikinha
    Participant
    June 1, 2016 at 09:09

    Hi 8theme.

    I would like to recolour the text showing when you choose a variation of a product.

    “In stock” should be green and “out of stock” red.

    Is this possible with custom css or how can i do it?

    Please, contact administrator
    for this information.
    Avatar: stan
    Stan Russell
    Participant
    June 1, 2016 at 09:59

    Hello bikinha,

    please add following css code to your Theme options > Custom css > Global css

    .product-information .out-of-stock{
     color:red;
    }
    .woocommerce-variation-availability{
      color:green;
    }

    Regards,
    Stan Russell.

    Avatar: bikinha
    bikinha
    Participant
    June 1, 2016 at 10:10

    Fantastic Stan!

    Thanks so much :-).

    Avatar: stan
    Stan Russell
    Participant
    June 1, 2016 at 12:00

    Hello bikinha,

    we are happy to help! Have a nice day!

    Regards,
    Stan Russell.

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

The issue related to '‘Recolour the "Out of stock" / "In stock" texts?’' 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.