Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

ecart
Advanced Member

123 Posts

Posted - 01/18/2022 :  14:12:17  
Hello,

How do I changed the "Out of Stock" text color?

Thanks,

Stan

dbdave
ECT Moderator

USA
10276 Posts

Posted - 01/18/2022 :  15:54:05  
Hi, the easiest way is right click on that text in your browser, click "inspect" and you can see what class(es) is/are assigned to that element.
From there is just an addition, or edit to your css file.

If it's the detail page, you can probably target it with the class div.detailoutofstock

So try adding this to your css file

div.detailoutofstock {color:red;}

Thanks,
David

ecart
Advanced Member

123 Posts

Posted - 01/18/2022 :  20:53:36  
David, thanks for the right click "inspect" tip.

The "Out of stock" text is on a button in the Quick Buy popup window, so the CSS below added to Appearance > Customize > Additional CSS in the Wordpress Admin section changed the text color.

input.ectbutton:disabled, button.ectbutton:disabled {
color: #F00;
}

Stan

dbdave
ECT Moderator

USA
10276 Posts

Posted - 01/19/2022 :  07:51:47  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000