WordPress.org

Support

Support » Themes and Templates » How to change colour of INTERNAL links

How to change colour of INTERNAL links

  • I have managed to change the colour of all the links in my site from red to grey. I did this by adding this line of code

    a:link{
    	text-decoration: none;
    	color: #808080;

    into my style.css page.

    This has worked fine except for links that link internally to other parts of my site. These have turned purple and I can’t work out how to change their colour. Any help?

    My site is soosanlolavar.com and click this link http://www.soosanlolavar.com/?p=1016 to see an example of an internal link that is purple (see the last sentence where it says click here)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Forum users aren’t allowed to advise help while editing parent themes.
    Once you have either a Child Theme or Custom Style/CSS plugin, let us know for we can help you.

    thanks for your reply. Would you be able to explain a bit more what you mean? Sorry I don’t understand the distinction between child and parent themes and why this should affect the colour of my internal links?

    Moderator Jan Dembowski

    @jdembowski

    Forum users aren’t allowed to advise help while editing parent themes.

    Not quite true: There is no rule against making a suggestion to edit parent themes. All of us can and do offer advice on anything, it’s just a good practice to recommend a solution to a problem that is sustainable.

    http://codex.wordpress.org/Child_Themes

    Editing a theme directly can and has bitten people before when that theme has been updated and child themes are an insurance against that.

    It’s also one of my favorite WordPress features. 😉

    However, some themes just can’t work with a child theme and when that happens a plugin can get the CSS you need onto your site.

    http://wordpress.org/extend/plugins/search.php?q=custom+css

    This is one that I’ve found to be easy and no-frills.

    http://wordpress.org/extend/plugins/custom-css-manager-plugin/

    @slolavar, unless you can isolate the internal links vs external links with a specific CSS rule, that CSS will update all links.

    Try using Firebug or a similar CSS tool to see if you can get more specific in your CSS.

    Also you’re using a commercial theme and support should have come with that purchase.

    Try asking at http://graphpaperpress.com/support/ and see if they have a solution. We don’t (can’t really) support commercial themes here and our advice here would be pretty generic for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change colour of INTERNAL links’ is closed to new replies.