aliaspt Posted October 6, 2010 Share Posted October 6, 2010 Hi everyone!I'm having trouble finding where I can change text color in the cart and some block headers. For some reason, not all block headers were affected by my editing CSS. Pictures attached for better understanding. I need to have all block headers with white text and the cart with black text. As you see, some of it changed, and some not.Also, can't figure out how to change that darker background behind the cart and SPECIALS block.Thanks!!!PS. I do use Firebug but I wasn't able to figure this particular one out. Link to comment Share on other sites More sharing options...
rocky Posted October 7, 2010 Share Posted October 7, 2010 PrestaShop uses the div.block style for some blocks and div.exclusive for others (including the cart block). You should edit the following section of your global.css: /* block exclusive */ #left_column div.exclusive, #right_column div.exclusive { background: transparent url('../img/block_exclusive_footer.jpg') no-repeat bottom left } div.exclusive h4 { background: transparent url('../img/block_header_exclusive.gif') no-repeat top left; color: white } div.exclusive h4 a { color: white } div.exclusive li { margin-top: 0 } div.exclusive, div.exclusive a { color: white } div.exclusive .block_content { background: #bdc2c9 url('../img/block_exclusive_bg.jpg') repeat-x bottom left; border-left: 1px solid #595a5e; border-right: 1px solid #595a5e } Change all "white" to whatever colour you want the text to be. Link to comment Share on other sites More sharing options...
aliaspt Posted October 7, 2010 Author Share Posted October 7, 2010 Cool! Thank you!!! Fixed it all! Link to comment Share on other sites More sharing options...
Borisslo Posted October 25, 2010 Share Posted October 25, 2010 Hello, I have the same problem. Some text is white and some text isn't. On the featured products block text is white but in categories, text is black...Any ideas?RegardsBoris Link to comment Share on other sites More sharing options...
aliaspt Posted October 25, 2010 Author Share Posted October 25, 2010 I searched for the color of font I wanted to change and then replaced it with the color I wanted. Trial and error method. Also, look for block headers in your CSS file and see what color is used for fonts in these blocks.Rocky's suggestion worked like a charm for exclusive blocks and the cart. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now