Skip to content

Add Button Hover Color options on Button Block #4543

Closed

Description

@monika-12

Enhancement Overview
Add Hover options for button like hover background hover color and hover text color.

Expected Behavior
There is no option to add hover color on button so there should be option for Background Hover Color and Hover Text Color.

Screenshots / Video

button

Activity

  1. karmatosed commented on Jan 18, 2018

    @karmatosed
    Member

    Could we just have a rule of whatever color, the hover should be a little darker?

  2. monika-12 commented on Jan 19, 2018

    @monika-12
    Author

    I think the hover color should be a little darker than base color.

  3. added
    Needs Design Feedback
    on Jan 19, 2018
  4. removed
    Needs Design Feedback
    on Jan 19, 2018
  5. karmatosed commented on Jan 19, 2018

    @karmatosed
    Member

    @monika-12 yes I agree and let's get this worked on now we have design feedback.

  6. added
    [Type] Enhancement
    on Jan 19, 2018
  7. added
    Customization
    on Oct 7, 2018
  8. added this to the Future: Phase 2 milestone on Oct 12, 2018
  9. modified the milestone: Future on Mar 25, 2019
  10. alexandersamson commented on Apr 21, 2019

    @alexandersamson

    .wp-block-button__link:hover{ background:#3A3A3A !important; }
    This is what I've added to custom theme CSS. Affects all buttons in that class. For now it works fine for me. The !important is important for override purposes, because for some strange reason somewhere else the background has been set already at :hover.

  11. added
    Needs Design
    on Nov 17, 2019
  12. removed
    Needs Design
    on Dec 27, 2019
  13. 39 remaining items

  14. richtabor commented on Apr 3, 2023

    @richtabor
    Member

    I feel like continuing to explore #38277 might reveal fertile ground.

    I agree. This isn't quite in a place to move forward with development.

  15. Jabe64 commented on Apr 3, 2023

    @Jabe64

    Moreover, additional space will be needed in the future to add icon block inside button block. See #16513 and #16484 for more information.

  16. added
    Global Styles
    on Apr 5, 2023
  17. moved this to Needs design in Polishon Apr 30, 2023
  18. removed this from Polishon May 1, 2023
  19. richtabor commented on Aug 9, 2023

    @richtabor
    Member

    This is being explored holistically as part of #38277.

    Let's close this to maintain focus on standardizing interactive states across the board.

  20. interpner commented on Apr 30, 2024

    @interpner

    +1

  21. mateitudor commented on Jun 22, 2024

    @mateitudor

    it's been 84 years

  22. interpner commented on Aug 7, 2024

    @interpner

    it's been 84 years

    85

  23. hadamlenz commented on Feb 28, 2025

    @hadamlenz

    86... happy new year

  24. SH4LIN commented on May 20, 2025

    @SH4LIN
    Contributor

    Any update on this?

  25. HostNewMexico commented on Oct 22, 2025

    @HostNewMexico

    We might actually get Half-Life 3 and GTA6 before we get a Wordpress hover state in the year of our Lord, Two Thousand and Twenty Five.
    Since 2018, we've successfully created the first stable fusion reactor, 3 nations have landed on the moon, we've found a cure for AIDS, and even achieved quantum teleportation, all before Wordpress was able to figure out how to add hover, a native feature to CSS since the late 1900s.
    Do you guys need help? I can get it fixed and on prod branch by EOD.

  26. scruffian commented on Oct 23, 2025

    @scruffian
    Contributor

    Do you guys need help? I can get it fixed and on prod branch by EOD.

    That would be great, thank you. There are more details about what exactly needs to happen on #38277 but essentially we need a system that allows editing of hover, active and focus states for all blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CustomizationGlobal StylesNeeds Design[Block] Buttons[Type] Enhancement

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions