olefredrik / FoundationPress

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

Kitchen Sink Components issues #1324

Closed youriwims closed 5 years ago

youriwims commented 6 years ago

Hi everyone, I know it's probably a silly question but, I can't seem to include the kitchen sink components properly. I've used Foundation quite a few times, but this is my first time working with FoundationPress. I've registered my nav and created it in the wp-admin. I'm trying to accomplish a drop down menu at desktop and off-canvas on mobile. How exactly would I accomplish this? Thanks in advance!

mattbag commented 5 years ago

You need to assign the nav as primary I think. You will see those 2 navs have the 2 different and separated markup. There might be an extra setting in the customise panel to have of no the off canvas.

derweili commented 5 years ago

You have to create a new Menu in the WordPress Dashboard unter Appearance > Menus Then assign the menu to the position "TopBar Right"

Now you should see you menu on desktop.

To enable the off-canvas menu:

  1. Go To Appearence > Customize > Mobile Menu Settings > Mobile navigation layout.
  2. Then select Offcanvas
  3. Publish Changes