twentytwelve nav
-
some strange float problem when adding a question mark to one of the main nav items (class=”nav-menu”), when doing that it breaks the height of the line and the items become to high and breaks the nav line example here – atwild.com
I have tried with other characters but seems to work fine : )
Amit
-
when I translate the page the nav comes out right – seems something is lost in the translation code.
Hi,
What do you mean translate ? I don’t think I have installed WPML or qTranslate on that domain,
Thanks,
Amit
sorry – translate w/ google chrome.
ah ok
Still normal nav is broken if you don’t translate right ?
correct
I don’t see what you’re talking about.
weird b/c this is what i’m seeing
Which browser are you using? I tested in Firefox and Safari and it worked fine here in both.
Chrome
I see what you see in Chrome. That’s weird. Removing the space before the ? fixes it in Chrome. That could be a temp workaround. I’d say that’s some sort of bug in Chrome.
That’s a weird one! I can repeat it with any single character after a space, like
Home A
but notHome AB
.Worth a Trac ticket, for sure. I can’t find the issue with a quick debug.
Changing this:
.main-navigation li a, .main-navigation li
from
display: inline-block
todisplay: inline
fixes it, but I didn’t test it to see if there are unintended consequences.https://core.trac.wordpress.org/ticket/22088 for you 🙂
It’s still a problem today, so I made that change into patch (credit mindctrl!)
looks like the same info is posted on the fix:
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-block;
text-decoration: none;
}
fixes it (credit mindctrl)The patch was right 😉 But it breaks submenus so … we fixed the desc
- The topic ‘twentytwelve nav’ is closed to new replies.