hamelingonewild Posted October 26, 2010 Share Posted October 26, 2010 Hello! When some products are defined DISCOUNTED by my client, the descritpion is to large that it affects the alignment of the products itself. I would like to reduce the font size and also to change the color of that writing. Can u suggest me how to do?Fede Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 It's the following code on lines 1460-1471 of global.css: ul#product_list li .discount { color: #da0f00; text-transform: uppercase; font-weight: bold; display: block } ul#product_list li .on_sale { color: #da0f00; text-transform: uppercase; font-weight: bold; display: block } The first section is for "Price lowered" and the second for "On sale". Link to comment Share on other sites More sharing options...
hamelingonewild Posted October 27, 2010 Author Share Posted October 27, 2010 My global.css file arrives at line 1100 :-( I could not find anywhere the above lines of code. I guess you meant global.css of the theme, right?Those lines do not exist! Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 I'm referring to the default PrestaShop v1.3.2. If you are using a custom theme without that code, I'll need a link to your site to check your code. Link to comment Share on other sites More sharing options...
hamelingonewild Posted October 27, 2010 Author Share Posted October 27, 2010 http://www.sportcenterstore.com/it's a custom theme! Link to comment Share on other sites More sharing options...
rocky Posted October 28, 2010 Share Posted October 28, 2010 I can't see any problem. It seems "Price lowered" is only displayed on the product page, not on the product listing pages. I can't see any alignment issues. Have you fixed this? Link to comment Share on other sites More sharing options...
hamelingonewild Posted October 28, 2010 Author Share Posted October 28, 2010 I need to reduce its font and to change the color. Cause if the font remains so large, in some pages it gives problems of alignment. Not on every page, but on some pages. For example, when 1 product is reduced and the two others not, it gives problem of alignment. That's why I want to reduce the font size. Link to comment Share on other sites More sharing options...
rocky Posted October 28, 2010 Share Posted October 28, 2010 Which browser are you using? Link to comment Share on other sites More sharing options...
hamelingonewild Posted October 28, 2010 Author Share Posted October 28, 2010 I am using Firefox, my client Explorer. But we both see it weird. Link to comment Share on other sites More sharing options...
rocky Posted October 28, 2010 Share Posted October 28, 2010 I tried viewing your website in IE and Firefox, but I can't see any "Reduced price" text in the product listings. Can you post a screenshot? Link to comment Share on other sites More sharing options...
hamelingonewild Posted October 28, 2010 Author Share Posted October 28, 2010 http://www.sportcenterstore.com/140-snowboardREDUCED PRICE in ITALIAN is "SCONTATO!" :-)So you will se SCONTATO nearby certain products...:-) Link to comment Share on other sites More sharing options...
rocky Posted October 28, 2010 Share Posted October 28, 2010 I see the text now. It isn't causing any wrapping issues for me though. You can try adding code like the following to your global.css: .ajax_block_product div .discount { font-size: 10px } Change 10px to the size you want the "Price lowered" text to be. Link to comment Share on other sites More sharing options...
hamelingonewild Posted October 28, 2010 Author Share Posted October 28, 2010 Thank you, Rocky! I try immediately!! :-))) Link to comment Share on other sites More sharing options...
Recommended Posts