Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Links in Content Pain always default to colour blue


Go to End


4 Posts   2069 Views

Avatar
wdi2

Community Member, 10 Posts

2 December 2008 at 2:23pm

Edited: 02/12/2008 2:24pm

editor.css + typography.ccs are correct, both specify orange links.

Link appears as expected on actual site (orange).

However in the content pane the link defaults to blue and the css will not be picked up. I can change the border and background colour of the link however. (as is done with broken links)

For example if I apply the following to links in editor.css

color:#e1663f;
background-color: #00ff00;
border: 1px red solid;

Background colour of link will be updated to yellow, border to red but the colour of the link will remain blue #0000FF.

I have searched for #0000FF (in whole directory) and looked in whatever css files I could find, but no joy.

Has anyone else met this problem and found a solution or am I going wrong somewhere?

Cheers

Avatar
Nivanka

Community Member, 400 Posts

2 December 2008 at 3:51pm

there might be some other style to set the color, which the browser use other than your one.

try with the following

color:#e1663f !important; 

Avatar
wdi2

Community Member, 10 Posts

2 December 2008 at 10:46pm

Cheers Nivanka, it is working now

Avatar
Nivanka

Community Member, 400 Posts

3 December 2008 at 4:12am

Good to hear that!