[wp-trac] [WordPress Trac] #60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-expanding button

WordPress Trac noreply at wordpress.org
Sun Apr 21 00:41:47 UTC 2024


#60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-
expanding button
-------------------------------------------------+-------------------------
 Reporter:  jordesign                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.5.3
Component:  Bundled Theme                        |     Version:  6.5
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion needs-testing needs-     |     Focuses:
  patch                                          |  accessibility
-------------------------------------------------+-------------------------

Comment (by janiewp):

 Adding a black outline to the submenu-expanding button can be achieved
 using CSS. Here's a simple example of how you might do it:


 {{{
 /* CSS for the navigation block */
 .navigation {
   /* Your navigation styles here */
 }

 /* CSS for the submenu-expanding button */
 .submenu-button {
   /* Your styles for the button here */
   border: 2px solid black; /* Add a black outline */
   /* Other styles as needed */
 }

 }}}

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


More information about the wp-trac mailing list