Jump to content
Sign in to follow this  
philpop

"instock" "out of stock" Contribution- how to change the colour?

Recommended Posts

I have installed this contribution, works great. However, I would only like it to show the "out of stock" icon and never show the "instock" icon.

 

Would a simple solution be to make the "instock" text just White, or the same colour as the background, and then you would just simply not see it?

 

If this would be ok, how do I change the colour? In what file is the colour stored in?

 

thanks in Advance

Edited by philpop

Share this post


Link to post
Share on other sites

I have managed to change the colour, but when I change this

 

}

 

SPAN.markProductOutOfStock {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

color: #010CE7;

font-weight: bold;

 

it affects both in stock and out of stock icons.

 

Dave says in the contribution;

"1) I've created an extra style in catalog/stylesheet.css, which I use for the "In Stock" announcement. I've called it SPAN.markProductInStock, and it is just the same as SPAN.markProductOutOfStock, but the colour is blue."

 

How do you do this? I tried just inserting the text

}

 

SPAN.markProductInStock {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

color: #ffffff;

font-weight: bold;

 

into the stylesheet, but it doesnt do anything. Could you please tell me how you did this?

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×