How to change font size of price in center column

Contains of tips and tricks how to manage your PrestaShop.

How to change font size of price in center column

Postby Masino Sinaga on Fri Jun 05, 2009 1:31 am

Here is the trick how to change the font size of price in center column. In this topic, we will change it become smaller, so it will appear normal if the digit count of the price has more than 6 digit:

Open \themes\prestashop\css\global.css, FIND:
Code: Select all
#center_column .products_block span.price {
   text-align: center;
   font-size: 1.6em;
   padding: 0.5em 0;
   display: block;
}


REPLACE WITH:
Code: Select all
#center_column .products_block span.price {
   text-align: center;
   font-size: 1.2em;
   padding: 0.5em 0;
   display: block;
}


FIND:
Code: Select all
ul#product_list li .price{
   display: block;
   font-size: 170%;
   font-weight:bold;
   margin-bottom: 0.2em;
}


REPLACE WITH:
Code: Select all
ul#product_list li .price{
   display: block;
   font-size: 120%;
   font-weight:bold;
   margin-bottom: 0.2em;
}


Tested in PrestaShop version 1.1 and it works good.

Best regards,
Masino Sinaga
Masino Sinaga
 
Posts: 8
Joined: Mon May 18, 2009 1:24 pm
Location: Jakarta, Indonesia

Return to Tips and Trick

Who is online

Users browsing this forum: No registered users and 0 guests

cron