Jump to content

Changing Color of Orange 'This Product Is No Longer In Stock' Box


Recommended Posts

Hello,

 

I am trying to find a way to change the color of the orange warning box most commonly seen when an item is out of stock.  The text for this box is 'This Product Is No Longer In Stock'.  I have changed the text by editing the product.tpl in the theme directory.  I just cannot find where to appearance of the box itself.  I understand the color of this box is probably controlled in one location for every orange warning box.  My desire is to change the color of all orange boxes to a different color to match my theme. 

 

Any help would be appreciated as always.  Thank you in advance!

Link to comment
Share on other sites

Hi dakeweb, 

I guess it should be the id #last_quantities that figures in your theme css/product.css file.

I don't have the exact line number because I already changed my files, but the parameters are something like this :

  background: #fe9126;

  border: 1px solid #e4752b;
  padding: 4px 8px 3px;
  position: relative;
  top: 1px;
  • Like 1
Link to comment
Share on other sites

 

Hi dakeweb, 

I guess it should be the id #last_quantities that figures in your theme css/product.css file.

I don't have the exact line number because I already changed my files, but the parameters are something like this :

  background: #fe9126;

  border: 1px solid #e4752b;
  padding: 4px 8px 3px;
  position: relative;
  top: 1px;

 

That was it!  Thank you so much, trouille2!

Link to comment
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
×
×
  • Create New...