jamesey Posted August 14, 2008 Posted August 14, 2008 Hi, Does anyone know how to change the colour of the text links in the Infoboxes? I've had a quick look in the stylesheet but there doesnt seem to be anything in there that controls specificly the infobox links.
Guest Posted August 14, 2008 Posted August 14, 2008 In catalog/stylesheet.css this is the part you're looking for A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } That will also control most other links on your page. If you want different ones you will have to add a new class in the stylesheet and then define that class in all of your infoboxes.
jamesey Posted August 14, 2008 Author Posted August 14, 2008 hi brian - thx for the reply. yes i only need the infobox text link colors changing rather then all the links. I've had a go at trying to ceeate a new style, and altho as basic as it should be, nothing is happening! I tried opening the stylesheet.css and put this in: A.infoBoxContents { color: ffffff; } and then i opened includes/boxes/categories.php, and put this code in where the first and only <td> tag is: <td class="A.infoBoxContents"> My background color is black which is why im wanting white text links. Maybe ive done this completely wrong?
Guest Posted August 14, 2008 Posted August 14, 2008 to change the link color for the categories box first add a new class to catalog/stylesheet.css A.cat_links { color: #FFFFFF; text-decoration: none; } In catalog/includes/boxes/categories.php find this $categories_string .= '<a href="'; Change to $categories_string .= '<a class="cat_links" href="';
jamesey Posted August 14, 2008 Author Posted August 14, 2008 i've just tried it out and it works im so glad to say :) thx brian you also helped me with removing the right column, really appreciate the help. now ive just got to do the same for all the other boxes.....
orderfromchaos Posted September 26, 2008 Posted September 26, 2008 I need to change the navigather header hyperlink color without changing the every other hyperlink. I created the new A.class but how do I apply it to the navigation header hyperlinks (account, log in, cart, etc.)?? Thanks, D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.