Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Im using the wordpress theme "roots". If the width of the site is below 979px the navigation disappears and the tablet menu-button appears.

If you click on a dropdown-menu, the height of the navigation isn't calculated correctly at the first time. Only if you close the menu and reopen it, it works. At first I thought, this is my fault, but the official demo behaves the same: http://demo.rootstheme.com/

The problem appears in firefox 19, safari for windows, but not internet explorer.

This seems to be a js problem, but the js is minimized. Can that be fixed with CSS? (Maybe it depends on positioning or something). Am I the only one, who noticed this bug? I found nothing on the internet.

share|improve this question
add comment

closed as off topic by Wyck, s_ha_dum, kaiser, brasofilo, Johannes Pille Apr 2 '13 at 20:24

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted

I found a sollution in the official google group:

Change:

<nav id="nav-main" class="nav-collapse" role="navigation">

to:

<nav id="nav-main" class="nav-collapse collapse" role="navigation">
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.