Link to home
Start Free TrialLog in
Avatar of James Halliburton
James HalliburtonFlag for United States of America

asked on

Hyperlink Text Color in SharePoint 2010

Is there a way to change the default hyperlink color in a Content Editor web part?

I'm not looking for anything special, just the blue color hyperlinks usually are before being used.

Currently my hyperlinks are defaulting to mauve or reddish purple, that color the links become after use.
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Hi,
you can simply create inline styles and assign this class inside your links using the "Edit HTML Source" action inside the ribbon "Editing Tools" -> "Format Text" -> "Markup" -> "HTML".

Then you might use something like this:
<style>
a.testme:link {color: #00FF00;}
a.testme:hover { background: #0000FF;}
a.testme:visited { color: #FF00FF;}
</style>
Experts delivered at <a class="testme" href="http://www.experts-exchange.com/">EE</a>

Open in new window


HTH
Rainer
ASKER CERTIFIED SOLUTION
Avatar of Walter Curtis
Walter Curtis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of St_Lukes
St_Lukes

An easy way to change font colours is by using SharePoint Desinger.
If you have a look around you may be able to set the default as well.