Menu icon Foundation

My Posts

No Content

My Comments

Rui Alexandre commented on Dom's post over 5 years

I have the same problem...

Rui Alexandre commented on Carlo Laitano's post over 5 years

the last nav should be ;) careful when copy/pasting it.

Rui Alexandre commented on Andrew Brown's post over 5 years

A friend of mine helped me with this problem... for those on a beginner level like me, it has to be said that the code to place on your header.php should be something like this:

<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'walker' => new Top_Bar_Walker(), 'menu_class' => 'right' ) ); ?>

...with a special focus on the " 'walker' => new Top_Bar_Walker()" part.

Hope this helps someone in the future - hell, even the future version of me.

Rui Alexandre commented on Andrew Brown's post over 5 years
Rui Alexandre commented on Andrew Brown's post over 5 years

Hello, Andrew.

Nope, they have the "menu" and "sub-menu" classes.

I wonder if I'm only getting the fallback version of the menu :X

https://www.dropbox.com/s/s6zvpujln79lbse/Screenshot%202014-01-02%2019.16.56.png

Rui Alexandre commented on Andrew Brown's post over 5 years

Garet - you walker doesn't allow dropdown menus, right?

Courtney - I tried yours, but the dropdown was also flawed; the submenus were visible, for example.

...or was I doing something wrong?

Rui Alexandre commented on Albert's post almost 6 years

I could use a hand on this one, as well!

Thanks!

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Dom's post over 5 years

I have the same problem...

You commented on Carlo Laitano's post over 5 years

the last nav should be ;) careful when copy/pasting it.

You commented on Andrew Brown's post over 5 years

A friend of mine helped me with this problem... for those on a beginner level like me, it has to be said that the code to place on your header.php should be something like this:

<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'walker' => new Top_Bar_Walker(), 'menu_class' => 'right' ) ); ?>

...with a special focus on the " 'walker' => new Top_Bar_Walker()" part.

Hope this helps someone in the future - hell, even the future version of me.

You commented on Andrew Brown's post over 5 years
You commented on Andrew Brown's post over 5 years

Hello, Andrew.

Nope, they have the "menu" and "sub-menu" classes.

I wonder if I'm only getting the fallback version of the menu :X

https://www.dropbox.com/s/s6zvpujln79lbse/Screenshot%202014-01-02%2019.16.56.png

You commented on Andrew Brown's post over 5 years

Garet - you walker doesn't allow dropdown menus, right?

Courtney - I tried yours, but the dropdown was also flawed; the submenus were visible, for example.

...or was I doing something wrong?

You commented on Albert's post almost 6 years

I could use a hand on this one, as well!

Thanks!

Posts Followed

Following

  • No Content

Followers

  • No Content