Make WordPress Core

#57203 closed defect (bug) (reported-upstream)

The button block frontend side background hovers color does not work.

Reported by: upadalavipul's profile upadalavipul Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.2
Component: Editor Keywords:
Focuses: Cc:


The button block frontend side background hovers color does not work. Please follow the below steps.

  1. Take one Button block and check the default font background black hover color is working.
  1. After changing the background color and checking the background hover color not working.

Also, the Button block does not provide hover background color options.

Please check the below video for a better understanding:


Change History (1)

#1 @ironprogrammer
18 months ago

  • Component changed from General to Editor
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thank you for the report, @upadalavipul!

At present, colors set on a button in the editor will override pseudo selector styles (like :hover) on the frontend. These styles can be configured in theme.json (see PR 43088), but are not yet available in the editor itself.

For progress on setting interactive link states in the editor, please follow the existing Issue 38277 in the Gutenberg repo.

I believe that Issue 38277 covers the scenario for your ticket, so will mark this as Editor and close the ticket as reported-upstream. But please re-open if this is incorrect.

Note: See TracTickets for help on using tickets.