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

WordPress Trac noreply at wordpress.org
Thu Feb 4 16:43:53 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 obenland):

 Replying to [comment:15 afercia]:
 > […] 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()`.

 I'm really not too concerned about this. It has been that way ever since
 nav menus were introduced and themes make up for it with different styles
 for these scenarios or by removing the fallback.

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


More information about the wp-trac mailing list