Dan1 Posted February 8, 2010 Share Posted February 8, 2010 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. Link to comment Share on other sites More sharing options...
Dan1 Posted February 8, 2010 Author Share Posted February 8, 2010 Can someone just give me the correct location of the text please? Link to comment Share on other sites More sharing options...
muktadir Posted February 25, 2010 Share Posted February 25, 2010 in the theme folder, edit product-list.tpl file. search for that text. note the class of style. then find that class in global.css Link to comment Share on other sites More sharing options...
Dan1 Posted February 25, 2010 Author Share Posted February 25, 2010 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 More sharing options...
Dan1 Posted February 26, 2010 Author Share Posted February 26, 2010 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 More sharing options...
muktadir Posted February 26, 2010 Share Posted February 26, 2010 good job. it was due to other items in that list. anyway, as you already fixed it and it's okey with you, I won't need to check other items' positioning. you can check my site for fixes and free stuff for prestashop. See ya Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now