Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Links in Content Pain always default to colour blue

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

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

Page: 1
Go to End
Author Topic: 1157 Views
  • wdi2
    Avatar
    Community Member
    10 Posts

    Links in Content Pain always default to colour blue Link to this post

    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

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Links in Content Pain always default to colour blue Link to this post

    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;

  • wdi2
    Avatar
    Community Member
    10 Posts

    Re: Links in Content Pain always default to colour blue Link to this post

    Cheers Nivanka, it is working now

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Links in Content Pain always default to colour blue Link to this post

    Good to hear that!

    1157 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.