I created a custom theme for my clients site. But when a link is added, it has it's own color. The color is not from a css file but is added directly to the html. Here is an example:

[a href="http://mySite.org/sites/mySite.org/files/FormCashRecord.xls"]
[span style="color:#800080;"]Petty Cash Record[/span]

When I delete the style and color from the span in Firebug, the font color and weight for the theme immediately displays. How do I prevent the style from being added to the link when it is added to the page.

Comments

kevinwal’s picture

Sjong37,

Looks like you probably are having a configuration issue with whatever WYSIWYG Editor. Which editor are you using? Perhaps there's a link or link color setting that needs to be taken off?

sjong37’s picture

Appreciate that suggestion. With all the css settings, I never thought about the CKeditor.

Where might I look for this color setting?

Seb_CKSource’s picture

Hi,

You can change various look elements in the ckeditor/contents.css file, located in CKEditor's root folder. So if you want to make links yellow, for instance, you would add the following code:

a {
color: #ffcc33;
font-weight: bold;
text-decoration: none;
}

I hope it helps!

Seb_CKSource’s picture

Correction: the css file is located in the ckeditor/ckeditor/contents.css directory, not root.