Support » Fixing WordPress » How Do I Put A Hover Link At Sidebar?

  • Hi,

    How do i put a hover link at the sidebar links? And also at the foot links?

    Like, when i move the mouse over the links, the link will be underlined and the color changes.

    Where do i add this change and what script do i add into the css.

    Thanks.

    Hanzo

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s probably in your theme’s css file.

    wp-content/themes/*theme_name*/style.css

    In your theme’s style.css find the sidebar and footer elements (something like #footer). I’ll use #footer for the following examples.

    Look for #footer a { color:#something; and so on }. There may also be a #footer a:hover { color:#somethingelse; and so on }.

    In the element #footer a:hover you need to add color:#CC0000; text-decoration:underline;. So, I have:

    #footer a:hover {
      color:#CC0000;
      text-decoation: underline;
    }

    That would make a link look dark-red and underlined.

    Without your site’s URL and your exact color choice I can’t give you exact code.

    Thanks bsutcliffe. I’ve added the script in and ‘toying’ around with the colors now. It’s working great. Thanks again. – Hanzo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How Do I Put A Hover Link At Sidebar?’ is closed to new replies.