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

Where to change the colors of links

Discussion in 'XenForo Questions and Support' started by Bram, Oct 7, 2010.

  1. Bram

    Bram Well-Known Member

    as the title says
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Can you be a little more specific?

    Do you mean links in posts?
    Links on the thread page?
    Links in the member card?

    Essentially all of the colours are controlled in the Style Properties in the ACP.
     
  3. Bram

    Bram Well-Known Member

    hyperlinks in general. I have looked into the style properties but can't seem to find it :)
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Hyperlinks in posts are controlled by the style properties, but I'm not sure which one it is.

    A good tip for finding out which colour is used where is to change them individually to something which stands out, e.g. bright pink.
    Then check around the board to see what has changed.

    At this point in time it's going to require a bit of investigative work to see which style property is used where.
     
  5. Bram

    Bram Well-Known Member

    In vb4 they are named:
    link_color
    linkhover_color

    As you suggested i have tried to change whatever i could, but so far no effect. Maybe its a bug i don't know
     
  6. Shadab

    Shadab Well-Known Member

    The color of links (a:link and a:visited) is controlled by the primaryMedium color palette. But since it's a palette, it controls the color of a lot more elements of a page, besides hyperlinks.
     
  7. Bram

    Bram Well-Known Member

    Jep, i have removed that color in the palette and made it transparant. Do you think it can be manually changed ?
     
  8. Shadab

    Shadab Well-Known Member

    Yes of course. The css for that is present is "xenforo.css" template. But I don't think editing the css templates directly is a good idea. Haven't checked the style system extensively so I don't know where exactly you can add your own css.

    Code:
    a:link, a:visited {
    	color: #ff0000;
    }
     
    Bram likes this.
  9. Bram

    Bram Well-Known Member

    That did it. Thanks a million!
     
    Shadab likes this.

Share This Page