• Resolved rockethead2

    (@rockethead2)



    How do you get the accordions to stay closed on page load. I’ve selected default and collapsible and no change.

    I don’t want the accordion to be open on page load. This should be a basic option.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author nasir179125

    (@nasir179125)

    Hello,
    I just noticed that error & I will update the plugin soon.
    In the plugin directory files go to js/accordion.js and replace code with this.

    jQuery(document).ready(function($) {
        var icons = {
            "header": "fa fa-plus",
            "activeHeader": "fa fa-minus"
        }
        $( ".mega-accordion" ).each(function(index, el) {
            var type = ($(this).data('type') == 'default') ? true : false;
            $(this).accordion({
                icons: icons,
                collapsible: true,
                active: false,
            });
        });
    });

    If still remain issue then directly contact me at http://topdigitaltrends.net/contact
    I will send you new file.
    Let me know.

    Regards
    Nasir

Viewing 1 replies (of 1 total)
  • The topic ‘Accordion open on pg load’ is closed to new replies.