Title: Remove underline on button hover
Last modified: March 16, 2024

---

# Remove underline on button hover

 *  Resolved [Mike Hindle](https://wordpress.org/support/users/mikehindle/)
 * (@mikehindle)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/remove-underline-on-button-hover/)
 * Hi there. My site isn’t live so I don’t have a link to share, unfortunately, 
   but can I remove the underline from the text within a button when you hover over
   it?
 * I’d like it still to do this with links, just not on the buttons.
 * Any help would be much appreciated and apologies in advance, I may have a few
   more requests over the next week…
 * Mike.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Theme Author [Mike McAlister](https://wordpress.org/support/users/mmcalister/)
 * (@mmcalister)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/remove-underline-on-button-hover/#post-17506077)
 * Hey Mike,
 * Thanks for checking out Ollie! Unfortunately, core doesn’t have a setting/control
   for controlling the hover style yet, but it’s coming soon. Maybe even in the 
   next release, I haven’t checked in a bit. We’ll support that as soon as it drops.
 * However, you can always change this with a tiny bit of CSS.
 * `.wp-element-button:hover, .wp-block-button__link:hover { text-decration:none}`
 * You can either add that to an existing stylesheet, or add it via the Additional
   CSS panel in Global Styles. See the Additional CSS area [of this article](https://wordpress.com/support/editing-css/)
   for more on that.
 *  Thread Starter [Mike Hindle](https://wordpress.org/support/users/mikehindle/)
 * (@mikehindle)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/remove-underline-on-button-hover/#post-17506260)
 * Thanks for this, Mike.
 * Appreciate the update. I’ve added the CSS (via additional CSS in Global Styles),
   but it’s not making any difference as yet for some reason.
 * I’m using WordPress 6.5 so unsure if that’s affecting anything?
 *  Theme Author [Mike McAlister](https://wordpress.org/support/users/mmcalister/)
 * (@mmcalister)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/remove-underline-on-button-hover/#post-17506680)
 * Oops, I had a little typo in there.
 * `.wp-element-button:hover, .wp-block-button__link:hover { text-decoration:none}`
 *  Thread Starter [Mike Hindle](https://wordpress.org/support/users/mikehindle/)
 * (@mikehindle)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/remove-underline-on-button-hover/#post-17506718)
 * Perfect and worked a treat. Thanks so much, Mike.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove underline on button hover’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/ollie/1.6.0/screenshot.png)
 * Ollie
 * [Support Threads](https://wordpress.org/support/theme/ollie/)
 * [Active Topics](https://wordpress.org/support/theme/ollie/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/ollie/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/ollie/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mike Hindle](https://wordpress.org/support/users/mikehindle/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/remove-underline-on-button-hover/#post-17506718)
 * Status: resolved