Guest rocketranger Posted April 27, 2006 Share Posted April 27, 2006 So I'm trying to customize CC to fit my site. So far so good. But I can't seem to figure out how to change the text color of just the prices on the homepage. Where is it in the code? I want them to be orange instead of the blue. http://www.rocketranger.com/shop Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 27, 2006 Share Posted April 27, 2006 OPEN FILE skins/Legend/styleSheets/style.css FIND this block of code: .txtOldPrice { text-decoration: line-through; } PASTE this new block of code above it: .txtPrice { color: orange; } SAVE, CLOSE, UPLOAD FILE skins/Legend/styleSheets/style.css Next, OPEN FILE skins/Legend/styleTemplates/content/index.tpl FIND this block of code: <br /> {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span> </div> REPLACE it with this block of code: <br /> <span class="txtPrice">{TXT_PRICE}</span> <span class="txtSale">{TXT_SALE_PRICE}</span> </div> SAVE, CLOSE, UPLOAD FILE skins/Legend/styleTemplates/content/index.tpl Quote Link to comment Share on other sites More sharing options...
Guest rocketranger Posted April 27, 2006 Share Posted April 27, 2006 Thanks Mark, but for some reason, nothing changed. Quote Link to comment Share on other sites More sharing options...
Guest shandaman Posted April 27, 2006 Share Posted April 27, 2006 did you re upload the files? Also try adjusting your layout.css text for latest products to no color. it might fix the problem. Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 27, 2006 Share Posted April 27, 2006 Hi RocketRanger, I looked at your site and see that you did not copy the period in front of class .txPrice for style.css, as in the code I gave above: .txtPrice { color: orange; } Just go back to style.css and add the period there ;) Quote Link to comment Share on other sites More sharing options...
Guest rocketranger Posted April 27, 2006 Share Posted April 27, 2006 YES! Thanks! Wish I understood code.... Quote Link to comment Share on other sites More sharing options...
Guest shandaman Posted April 27, 2006 Share Posted April 27, 2006 after a bit of practice it comes naturally hang in there and you will learn it. I didnt even look at the code next time ill be sure to check it though Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.