[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items

WordPress Trac noreply at wordpress.org
Thu Feb 4 13:36:15 UTC 2016


#35206: Allow theme authors to control white space between menu items
--------------------------------------+-----------------------
 Reporter:  peterwilsoncc             |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  4.5
Component:  Menus                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:  template
--------------------------------------+-----------------------

Comment (by afercia):

 @obenland I see your point but I think the current situation is not ideal.
 Worth reminding [36082] reverted [34321] to support what I'd consider a
 CSS hack (justified menu items) so now we're back to the original
 situation where `Walker_Nav_Menu` outputs a white space while there's no
 white space in the fallback `wp_page_menu()`.
 This can potentially break layouts, including the mentioned "justified
 menu items" hack, when falling back to `wp_page_menu()`.

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


More information about the wp-trac mailing list