[wp-trac] [WordPress Trac] #58875: The hover effect in theme.json is not working

WordPress Trac noreply at wordpress.org
Sun Jul 23 06:47:33 UTC 2023


#58875: The hover effect in theme.json is not working
--------------------------+------------------------------
 Reporter:  titanchan     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.2.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by titanchan):

 https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-
 json/

 I have followed all the steps suggested by this post, I've found two bugs
 actually.

 One is what I've mentioned previously, which I was setting the hover color
 for the nav-links.
 I wrote the styles session -> blocks -> core/navigation -> color -> text.
 This is totally working so far.

 But when I add elements -> link -> :hover -> color -> text. The hover
 color is not working.
 This is the details of the problem I've encountered.

 Another bug is that some rows/ columns have the control of height, while
 some have the control of weight for the dimension control. This may also
 be a bug as the remaining control is missing.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58875#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list