O'Reilly logo

PrestaShop 1.3 ThemingBeginner’s Guide by Hayati Hashim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — Changing the color of the text in the CART block

  1. The color of the text of the CART block can be changed through editing the following lines, which is under the /* Special style for block cart*/ section.
  2. Currently, the color of the text is white for both description and price in the CART block. To change the color of price, you have to edit color: white to another color of your choice.
    #cart_block li { clear: both }
    #cart_block span.price {
    color: white;
    float: right
    }
    
  3. In order to change the color of the description to black, go to: /* block exclusive */, change the color to black or use a hex color code of your choice.
div.exclusive, div.exclusive a { color: black}

Remember we merely inserted some simple lines to the global setting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required