• This is what Foundation need to work corectly.
    ul -> li with classes “accordion-navigation [active]”
    Foundation 5 Accordion rendered

    But EFS is going about this in a much different way. I suppose the dd with dl doesn’t really matter as opposed to the ul and li in the foundation example, but it doesn’t look like the active class is passed along.

    Foundation Easy Shortcodes (EFS) Toggle for Foundation 5 Accordion (shortcode)

    You can see there is no “active” class added to the HTML.
    Foundation Easy Shortcodes (EFS) Toggle for Foundation 5 Accordion (rendered)

    • This topic was modified 7 years, 9 months ago by nicwinn.
Viewing 1 replies (of 1 total)
  • Thread Starter nicwinn

    (@nicwinn)

    Here’s a workaround using jQuery.

    <script>
    jQuery('dd:has("div.active")').addClass('active');
    </script>
Viewing 1 replies (of 1 total)
  • The topic ‘Active Accordion not Fully Active’ is closed to new replies.