Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#22088 closed defect (bug)

Twenty Twelve Menu Misbehaves With Spaces Sometimes — at Version 3

Reported by: Ipstenu Owned by:
Milestone: 3.5 Priority: low
Severity: normal Version: 3.5
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description (last modified by ocean90)

From http://wordpress.org/support/topic/twentytwelve-nav?replies=13

When adding a ? to the end of a menu item name, it kicked the ? to a second line.

This was reproduced with any single char as the last thing on a menu.


Changing this:

        .main-navigation li a,
        .main-navigation li {
                display: inline-block;
                text-decoration: none;

to this

        .main-navigation li a,
        .main-navigation li {
                display: inline;
                text-decoration: none;

fixes it (credit mindctrl)

Attaching patch.

Change History (4)

@Ipstenu3 years ago

CSS tweak for twentytwelve menu (credit mindctrl)

comment:1 @nacin3 years ago

  • Component changed from Themes to Bundled Theme

comment:2 @ocean903 years ago

  • Keywords needs-patch added; has-patch removed

This needs some more work. The change from inline-block to inline will break the submenus: http://cl.ly/Jtqy

comment:3 @ocean903 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.