Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I need underline to show for my links when I hover. How/where do I set that?
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedIn CSS, you can use the Custom CSS setting, you need to set text-decoration: underlined on hover and focus states.
Comment #2
System Lord CreditAttribution: System Lord commentedThat's just beautiful!!! Thank you!
I used:
------------------------
a:link,
a:visited {
text-decoration: none;
}
a:hover,
a:active,
a:focus {
text-decoration: underline;
}
----------------------
My apologies for asking for specific code, but how do i keep my tabbed link labels from being affected with this?
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedWell, you can go two ways, either make the hover/underline style more specific, aka prefix it with a class or classes, for example:
Or, you can take styles away using a class or id etc, for example:
Comment #4
System Lord CreditAttribution: System Lord commentedThank you much, Jeff!