How can I change the color of the link

  • Unknown's avatar

    Hi!

    If I’m going over a link in my sidebar this will be blue. How can I change this in another color?
    The links in my pages are bold and black. How can I give them a color if I’m going over it?

    The blog I need help with is: (visible only to logged in users)

  • This is the current style that is changing the links in your sidebar to blue(#00ccff):

    .sidebar ul.menu li a:hover, .sidebar ul.menu li a:active, .sidebar ul.menu li a:focus {
    color: #00ccff;
    }

    Change #00ccff to whichever color you want :-)

  • Unknown's avatar

    Thank you! I’ve changed the color, but some links are still blue, like previous post, top post and tags. Is there also a rule for these parts?
    And a rule for the link in my posts?

  • Let’s try this:

    .sidebar ul.menu li a:hover,.sidebar ul.menu li a:active,.sidebar ul.menu li a:focus,
    .widget ul li a:hover, .widget ul li a:focus, .widget ul li a:active,
    .wp_widget_tag_cloud a:hover, .wp_widget_tag_cloud a:focus, .wp_widget_tag_cloud a:active {
       color: #0be9b5;
    }
    
    --

    And a rule for the link in my posts?

    .profile-singular.profile-relative-text .postarea a {
    	color: green;
    }
    
    .profile-singular.profile-relative-text .postarea a:hover {
    color: yellow;
    }

    Please change the colors as needed.

  • Unknown's avatar
  • The topic ‘How can I change the color of the link’ is closed to new replies.