1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing colour of links on "pages"

Discussion in 'XenForo Questions and Support' started by JVCode, Feb 5, 2011.

  1. JVCode

    JVCode Well-Known Member

    Creating a link on a "page" changes the colour of the link to blue, I'd like for the link to keep the same colour as it was before (white), How do I do this just for the pages and not the other links in the forums etc.
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. JVCode

    JVCode Well-Known Member

    I'm not wanting all message text to be white, just the links... is there a style property for this?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I'm not sure I understand, is this for Page content?

    If so, just create a new css class for links and set the color to white.
  5. JVCode

    JVCode Well-Known Member

    What's the code for this? I've tried
    a:link {color:#FF0000;}
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Well if you do this it will give you a red link for example:

    <a href="http://xenforo.com" style="color: #CC0000">XenForo</a>

    If you want to use a class then you can do something like this:

    <style type="text/css">
    a.green {color:#009900;}
    <a class="green" href="http://xenforo.com">XenForo</a>

Share This Page