johnjohn Posted February 6, 2012 Share Posted February 6, 2012 hello i want to change the image of add to cart button, for example to place a basket,just like the demo site of prestashop http://www.prestasho...p?id_category=2 , insted of box, in products pages i read many topics but i cant find a solution, iam using 1,4,6 i dont know very much about css thanks Link to comment Share on other sites More sharing options...
cedricfontaine Posted February 6, 2012 Share Posted February 6, 2012 Why didn't you install the new 1.5 theme with this button to your server ? If you don't know at all CSS it would be easier for you. 1 Link to comment Share on other sites More sharing options...
johnjohn Posted February 6, 2012 Author Share Posted February 6, 2012 i have made many changes by reading topics to change other thinks in css and i want it to be different than the other sites so i dont want to change the theme but only that buttons, thank you Link to comment Share on other sites More sharing options...
cedricfontaine Posted February 8, 2012 Share Posted February 8, 2012 CSS for this button seems to be : #product_list li .ajax_add_to_cart_button { padding-left: 20px } #product_list li .ajax_add_to_cart_button span { display: block; position: absolute; top: -1px; left: -12px; height: 26px; width: 26px; background: url(../img/icon/pict_add_cart.png) no-repeat 0 0 transparent } Did you try it ? Link to comment Share on other sites More sharing options...
johnjohn Posted February 9, 2012 Author Share Posted February 9, 2012 thanks my friend, you help very much Link to comment Share on other sites More sharing options...
SplendidAngst Posted March 27, 2012 Share Posted March 27, 2012 CSS for this button seems to be : #product_list li .ajax_add_to_cart_button { padding-left: 20px } #product_list li .ajax_add_to_cart_button span { display: block; position: absolute; top: -1px; left: -12px; height: 26px; width: 26px; background: url(../img/icon/pict_add_cart.png) no-repeat 0 0 transparent } Did you try it ? Where did you find this CSS? I tried searching the entire folder and I couldn't find a thing. Link to comment Share on other sites More sharing options...
johnsalimie Posted March 6, 2013 Share Posted March 6, 2013 Where did you find this CSS? I tried searching the entire folder and I couldn't find a thing. its in product_list.css 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