I’ve been trying to configure Foundation’s Magellan in my child theme without success. The component itself works on default settings, but I can’t figure out how to tweak them per Foundation’s instructions here: http://foundation.zurb.com/docs/components/magellan.html
I tried putting the jQuery(document).foundation(); block in the header, the footer, and even tried using the data-attribute method; none of them change the component’s default behavior. Breakpoints confirmed that the code was getting run, just no change in the behavior.
The main test I used was to try to change the default “active” class to something else. No matter what I try, the Magellan links always get styled with “active” (the default, I think) even when the JS says otherwise. My only guess is that my foundation(); call is getting overriden somewhere later by something in rtPanel. Any insight would be much appreciated!