Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #368586

    Hi, i would like to know how can i change toggle/accordion show time? I already change hide time in shortcode.js file `thisheading.on(‘click’, function()
    {
    if(content.css(‘visibility’) != “hidden”)
    {
    content.slideUp(600, function()
    {
    content.removeClass(‘active_tc’).attr({style:”});
    win.trigger(‘av-height-change’);
    });
    thisheading.removeClass(‘activeTitle’);

    }
    else
    {
    if(container.is(‘.toggle_close_all’))
    {
    allContent.not(content).slideUp(600, function()
    {
    $(this).removeClass(‘active_tc’).attr({style:”});
    scroll_to_viewport();
    });
    heading.removeClass(‘activeTitle’);
    }
    content.addClass(‘active_tc’).slideDown(600,`

    but when i change slideUp doesn’t work.

    #369198

    Hey popisgrzegorz!

    Open up /enfold/js/shortcodes.js and find line 2436.

    thisheading.addClass('activeTitle');
    

    And change it to this.

    thisheading.next().hide();
    thisheading.addClass('activeTitle');
    thisheading.next().slideDown(600);
    

    Best regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.