Please update for Foundation v5.5; example missing accordion navigation class
-
This app is incredibly useful for the sites I develop with Foundation and therefore I want to pass on a bug that’s appeared. I have found that the accordions, for example, are not interacting properly with WP version 4.1, plugin version 2.5.0 and Foundation v5.5.0.
The class,
accordion-navigation
, appears to be missing, resulting in the accordions not toggling to show their contents. This might be something just missed in the coding of this plugin or it might be a change from Foundation v5.0 to v5.5. In either case if we are using the latest version of Foundation in our themes it appears that some of the required classes may be missing.According to the Foundation 5.5 documentation, http://foundation.zurb.com/docs/components/accordion.html, the markup should output like this:
<dl class="accordion yourcustomclass" data-accordion="" id="oscitas-efs-toggle-2"> <dd class="accordion-navigation active"> <a href="#efs-tooglepane-2-0">Accordion number 1</a> <div class="content active" id="efs-tooglepane-2-0">Toggle 1 content goes here.</div> </dd> <dd class="accordion-navigation"> <a href="#efs-tooglepane-2-1">Accordion number 2</a> <div class="content" id="efs-tooglepane-2-1">Toggle 2 content goes here.</div> </dd> <dd class="accordion-navigation"> <a href="#efs-tooglepane-2-2">Accordion number 3</a> <div class="content" id="efs-tooglepane-2-2">Toggle 3 content goes here.</div> </dd><dd class="accordion-navigation"> <a href="#efs-tooglepane-2-3">Accordion number 4</a> <div class="content" id="efs-tooglepane-2-3">Toggle 4 content goes here.</div> </dd> </dl>
- The topic ‘Please update for Foundation v5.5; example missing accordion navigation class’ is closed to new replies.