Menu icon Foundation
Off canvas reveal for xlarge ?

Hi is there any way to use reveal-for-xlarge if I have activated that breakpoint in settings.

I've tried it and the xlarge reveal works but crucially it breaks the menu toggles at all breakpoints 

offcanvas breakpoints

Hi is there any way to use reveal-for-xlarge if I have activated that breakpoint in settings.

I've tried it and the xlarge reveal works but crucially it breaks the menu toggles at all breakpoints 

Ben Wills over 2 years ago

Hi Kevin, I know this is an old post, but it's still relevant.  No idea how to use GIT etc, so maybe someone else can submit a pull request, but there are a number of places in the foundation js where it states:

match(/(reveal-for-medium|reveal-for-large)/g)[0].split('-')[2];

by finding and replacing on this with:

match(/(reveal-for-medium|reveal-for-large|reveal-for-xlarge)/g)[0].split('-')[2];

I was able to get this working. Hope this helps someone.

Steven Muncy over 2 years ago

Thanks Ben. It would be nice to have this feature on all screen sizes.