Page 1 of 1

Change Hyperlink color

Posted: Mon Oct 25, 2010 10:45 pm
by ultraspoon
Hey everyone.

OK so my problem is, my categories down the left hand side are hyper links and the colours are set to white, which is what I want. Now when I click on one of the categories and it shows me the products, I cannot see the name of the product because that is a hyper link too (which is set to white) and the background is set to white.

I want to change the colour of the hyper link of the products name to black and keep the colour of the hyper links white on the categories list on the left.

I've looked in the code and know what to change, but then it changes all hyper links to black. Which is not what I want.

Thanks
Spoon.

Re: Change Hyperlink color

Posted: Tue Oct 26, 2010 4:37 am
by Moggin
You could change the global links colour to black, but style the category links separately. For example

Code: Select all

a, a:visited {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

#category ul a    {
     color: #fff;    
     text-decoration:none;
    font-weight:bold
} 
...just one suggestion

Re: Change Hyperlink color

Posted: Tue Oct 26, 2010 5:16 am
by ultraspoon
From a quick look at the code you provided I think that might just do it!

Great work Moggin!

Ill post back soon with my success.

Thank you. :)

Re: Change Hyperlink color

Posted: Wed Jul 06, 2011 2:51 am
by paradisewsm
this was useul to me, however I want to change the hyperlink size.

when I add hyperlinks in pages, the text shrinks.... any suggestions :)