olefredrik / FoundationPress

FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
https://foundationpress.olefredrik.com
MIT License
2.71k stars 871 forks source link

I can't find the Magellan navigation #1265

Closed Mark-in-Motion closed 6 years ago

Mark-in-Motion commented 6 years ago

I would like to use the Magellan navigation but I it seems to not be added in the latest version of FoundationPress. Has this intentionally left out?

Thanks.

colin-marshall commented 6 years ago

@mmoser-markl all JS components in Foundation are included by default in FoundationPress. Please fill out the issue template to show us what code you are using that is not working. Also, you have to add your own styles to the Magellan .is-active class to make the menu item appear differently.

Mark-in-Motion commented 6 years ago

@colin-marshall - Thanks for the tip. You're right, I haven't included the css to the is-active class that's why I can't find the difference. I also, I thought Magellan should be included to the app,scss to be able to use it.

colin-marshall commented 6 years ago

@mmoser-markl it's not included in regular Foundation's SCSS either. I think the reasoning is because the .is-active class can be used in a lot of different ways, not just changing a background color, for example.