Menu icon Foundation
forgot to include 'off canvas' at download

Hi,

I downloaded foundation 6 and worked on an entire site & realised I should of included the off canvas data for an mobile navigation menu I want to use.

Does anyone have any idea how i might be able to extract the off-canvas css and JavaScript stuff to add to my Foundation 6 custom build? I have taken a look at the css stuff and added to to my custom build but there's a load of javascript bits too which is tricky to add.

Thank you,

Stephen

forgot to package off canvas

Hi,

I downloaded foundation 6 and worked on an entire site & realised I should of included the off canvas data for an mobile navigation menu I want to use.

Does anyone have any idea how i might be able to extract the off-canvas css and JavaScript stuff to add to my Foundation 6 custom build? I have taken a look at the css stuff and added to to my custom build but there's a load of javascript bits too which is tricky to add.

Thank you,

Stephen

Rafi Benkual over 3 years ago

If you download a custom version with only off-canvas

Lines 430-530 is the off-canvas CSS and in the foundation.js line 606 down.

Otherwise you can use a CDN to pull specific modules

https://www.jsdelivr.com/projects/foundation