WordPress.org

Ready to get started?Download WordPress

Forums

How Do I Put A Hover Link At Sidebar? (4 posts)

  1. salesninja
    Member
    Posted 5 years ago #

    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

  2. Oren Yomtov
    Member
    Posted 5 years ago #

    It's probably in your theme's css file.

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

  3. Ben Sutcliffe
    Member
    Posted 5 years ago #

    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.

  4. salesninja
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic