plutten22 Posted March 19, 2015 Share Posted March 19, 2015 Hi I would like to change the color on the price. How can i do that. I have prestashop 1.5.6.0 My webpage is. www.cykelstaden.se Regards Plutten22 Link to comment Share on other sites More sharing options...
tuk66 Posted March 19, 2015 Share Posted March 19, 2015 I like bikes so, for example, for http://www.cykelstaden.se/mtb-275-29-fulldampad/81-nishiki-mtb-pinnacle-275-2015.html change .our_price_display { color: green; and for http://www.cykelstaden.se/10-elcykel #product_list li .price { color: green; You will find these styles somewhere in /themes and /modules. Link to comment Share on other sites More sharing options...
plutten22 Posted March 20, 2015 Author Share Posted March 20, 2015 Ok. thank you very much. it works... How can i make the reduction prices red and normal prices blue. Plutten22 Link to comment Share on other sites More sharing options...
sumitbatra Posted March 21, 2015 Share Posted March 21, 2015 I would also like to know the same, and in addition kindly tell how to show base price in red and slashed and then discounted price in green Link to comment Share on other sites More sharing options...
Paulito Posted March 22, 2015 Share Posted March 22, 2015 Hello Using PS 1.0.6.14 default theme #old_price {color:red; text-decoration: line-through;} .our_price_display .price {color:green!important;} Result http://screencast.com/t/YAqZjwB17 Paul Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted March 22, 2015 Share Posted March 22, 2015 Hello Using PS 1.0.6.14 default theme #old_price {color:red; text-decoration: line-through;} .our_price_display .price {color:green!important;} Result http://screencast.com/t/YAqZjwB17 Paul Salut, Paul je viens de voir son site il est sur la version 1.5 ! Bon dimanche Amitiés Link to comment Share on other sites More sharing options...
sumitbatra Posted March 22, 2015 Share Posted March 22, 2015 The result is perfect but where to append this code in 1.5.6... please ( considering the fact that I am a lay man) Link to comment Share on other sites More sharing options...
Paulito Posted March 22, 2015 Share Posted March 22, 2015 Hello It's always a good idea to add a url if you can, also, your css is minified so it's difficult to find out exactly where to change things. Anyway, put this code at the bottom of global.css #buy_block p#old_price { padding-bottom: 15px; font-size: 14px; text-decoration: line-through; color: red; } .our_price_display { padding-bottom: 10px; font-weight: 700; font-size: 24px; line-height: 18px; color: green;} Paul Link to comment Share on other sites More sharing options...
sumitbatra Posted March 22, 2015 Share Posted March 22, 2015 Thanks a ton paul. http://nukkadshop.in Can the same formatting be done for product_list .. Link to comment Share on other sites More sharing options...
Paulito Posted March 22, 2015 Share Posted March 22, 2015 Hello Your product list onlly shows one (1) price, if you want that green then add this code under the other two you added to global.css #product_list li .price {color:green} Result http://screencast.com/t/aBzA5lTEXOC PS. your css is still minified Paul Link to comment Share on other sites More sharing options...
Paulito Posted March 22, 2015 Share Posted March 22, 2015 Or what about changing the "Reduced Price" label to green http://screencast.com/t/YeastZ2J Paul Link to comment Share on other sites More sharing options...
sumitbatra Posted March 22, 2015 Share Posted March 22, 2015 And what if i want to display my list price in the same manner as on product page Link to comment Share on other sites More sharing options...
Paulito Posted March 22, 2015 Share Posted March 22, 2015 Sorry Don't know the answer to that But it would be better for you to create a new Topic about that Paul Link to comment Share on other sites More sharing options...
sumitbatra Posted March 22, 2015 Share Posted March 22, 2015 Ok ..but as i said I am a lay man.. so kindly tell about ( css minified) is there something wrong in the site. Link to comment Share on other sites More sharing options...
Paulito Posted March 22, 2015 Share Posted March 22, 2015 Hello No, their is nothing wrong with your site, it is just difficult for someone trying to answer a question, for example: minified css http://screencast.com/t/ivWut5nBI Not minified css http://screencast.com/t/3zALQL4ArQV If you need to change this setting whilst you are adapting your websites code then you should be able to find this in: Back office > Advanced parameters > Performance > CCC (Combine, Compress and Cache) http://screencast.com/t/EXMrEW4neL The image is for PS 1.6 but PS 1.5 should be similar Paul Link to comment Share on other sites More sharing options...
sumitbatra Posted March 22, 2015 Share Posted March 22, 2015 Ok.. thanks .. will try... Link to comment Share on other sites More sharing options...
Recommended Posts