WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hover in Tiga (11 posts)

  1. Tfleming
    Member
    Posted 7 years ago #

    Using Tiga them at http://www.civicyouth.org/wordpress

    Need the text links under the posts not to "hover" (I believe that is what it is doing - blinking on only when I mouse-over it).

    Any ideas?

  2. DianeV
    Member
    Posted 7 years ago #

    Yes, that is "hover".

    To remove it, locate hover specification for your sidebar in your style.css, and make the hover state the same as the link state. It's probably something like this:

    a {color:#fff; text-decoration:underline}
    a:hover {color:#fff; text-decoration:underline}

  3. Tfleming
    Member
    Posted 7 years ago #

    Yes, I thought that would do it also. Tried it again after your suggestion, but no luck. My code now has the a:link and a:hover exactly the same, but they produce different things "on screen"

    It's very odd.

    I think the hovering is tied to "the_category" but I don't know how or where.

    Any thoughts there?

  4. dwzemens
    Member
    Posted 7 years ago #

    The hover state is doing exactly what the CSS tells it at this very moment, which is to display white text when it is a link and to display black text when it is hovered with a mouse or pointing device.

    What is it you want it to do?

  5. Tfleming
    Member
    Posted 7 years ago #

    display always in black text while remaining a link.

  6. Tfleming
    Member
    Posted 7 years ago #

    ah ha... your comment helped me understand. I was able to change the code - wasn't in the hover section after all, rather the a:link section. Made it appear to "hover"

    Thanks!

  7. Tfleming
    Member
    Posted 7 years ago #

    Ugh..now I've run into another problem. Apparently correcting the above undid a different change I made. Now the links in the left sidebar are black instead of white. (That's where the links before became white).

    Hmm.. I know there's a shortcut to make just some font change in the sidebar...?

  8. Tfleming
    Member
    Posted 7 years ago #

    fixed it... whew.

    Place the following in the *SIDEBARS* section of the style.php

    .left-sidebar a {
    color: #FFFFFF
    }

  9. dwzemens
    Member
    Posted 7 years ago #

    You need to apply different CSS markup to the different divisions of your site via your CSS file. The CSS changes you just made apply universally to your site because they are not specific, but general.

    Your sidebar links are controlled by a CSS class named .left_widget
    If you add this to your CSS it will control ONLY the links in that class:

    .left-sidebar a {
    color:#fff;
    }
    .left-sidebar a:hover {
    color:#000;
    }

    Make them whatever color you want.

    You need to better understand levels of specificity in CSS ---

    Good luck.

  10. dwzemens
    Member
    Posted 7 years ago #

    STOP

    You should not have added that code to sidebar.php...did you? I see that there is now a problem with your database, and your page generates errors from the database...big trouble.

    Did you mess with sidebar.php?

  11. DianeV
    Member
    Posted 7 years ago #

    By the way, even if you use the "hover" to remove the underline from a link, it's still a link.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags