Jump to content

[SOLVED] Location of Available & Out of stock green text


Recommended Posts

Hi all,

The "Available" & "Out of stock" green text on the product listings in a category used to be above the add to cart green button, in my Prestashop installation.

I updated some files and now it moved to the left above the product description. I was viewing the website with Mozilla Firefox.

When I view it with Internet Explorer it moves again to above the product thumbnail picture, and pushes the picture down.

Where is the "Available" & "Out of stock" green text actually supposed to be? How can I move it there? Thanks in advance.

18457_CYOeRFcT6oB0QRh0Tk6W_t

18458_RqisXvvgdy7lcdRw9NWs_t

Link to comment
Share on other sites

  • 3 weeks later...

Thank you for the suggestion.

Class of style in product-list.tpl is




All I see in global.css is:

}
ul#product_list li span.availability{
   color:#488c40;
   font-size:0.9em;



Which only allows me to control the color and size of the text, not the position. So I still need help please.

Link to comment
Share on other sites

I solved the problem with the help of muktadir's suggestion. What I did was examine the PS demo site with the Firefox plugin Firebug, specifically the text I'm posting about here. I saw that the code was different than the one in my previous post, it had

float: right;



Once I added this code to my global.css file to look like this the problem was solved.

}
ul#product_list li span.availability{
   color:#488c40;
   float: right;
   font-size:0.9em; 

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...