Jump to content

[solved] Change the cart block font colour


Recommended Posts

Hi flotyl,

 

The font colours for the cart are linked to the font colours from your body and link text. If you want to change the colours without affecting the other font colours in the shop, you could add some css either to global.css (in your prestashop theme folder) or to the cart module itself. I'm not sure if you're a developer so if you need assistance with that, feel free to leave me a message.

 

Thanks,

Joel

Link to comment
Share on other sites

You can change these in blockcart.css by adding color:yourcolor to the correct section, in the example below the text for shipping, total are changed to red.

 

 

#cart_block p span {

clear: right;

float: left;

text-align: right;

color:red

}

This will change the prices to red.

#cart_block span.price {

color: red;

float: right

}

Link to comment
Share on other sites

  • 3 months later...

Try this lasseulrich:

 

In blockcart.css, add the color property as follows:

 

 

#cart_block #cart-prices {
 padding: 10px 4px;
 line-height: 20px;
 font-weight: bold;
 border-top: 1px solid #999;
 color: red;
}

 

Actually Firebug allows you to live edit the css and see the changes immediately. When satisfied - go and change the file with your favorite text editor. Notepad++ is my personal best.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...