Menu icon Foundation
STICKY NAV SHRINK HERO building block

Hi I'm currently trying to use this building block and when I paste it to my code or even in an empty project I can't get the menu items centered... they're always aligned to left.

 

I'M trying to add it to zurb-template.

 

Anyway might know why my menu items aren't centered?  Everything else seem to work fine execpt for that...

 

Have a nice day.

 

JF.

Building Block

Hi I'm currently trying to use this building block and when I paste it to my code or even in an empty project I can't get the menu items centered... they're always aligned to left.

 

I'M trying to add it to zurb-template.

 

Anyway might know why my menu items aren't centered?  Everything else seem to work fine execpt for that...

 

Have a nice day.

 

JF.

Will Moody about 2 years ago

Hi JF

 

Which version of Foundation are you using?

And do you have any code you could share?

 

Will

Daniel Bolia about 2 years ago

Hi JF,

I was having the same issue. I solved it by wrapping the <ul> </ul> elements inside a <div class="menu-centered"></div> tag.

I hope this works for you.

dan

 

JF Pintal about 2 years ago

Thank both of you for answering I will try that sry for the big delay for my answer was kind of busy at home :)