accordion

Home Forums Furnish theme support accordion

Tagged: 

This topic contains 12 replies, has 4 voices, and was last updated by  Forum Moderator 3 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #11039

    Jatinder Deol
    Member
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: May 23, 2015

    Hi how can i set that all accordion tabs are closed by open the page.

    #11044

    SKT Themes
    Keymaster
    • Topics: 2
    • Replies: 6160
    • Total: 6162
    Member since: June 12, 2013

    Kindly show us an example as to how?

    Regards,
    Shri

    #11050

    Jatinder Deol
    Member
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: May 23, 2015

    http://sktthemesdemo.net/interior/shortcodes/toggle-tabs-and-accordion/

    when you open the site the accordion title 1 is open. i would like that by entering the site all the accordions are closed.

    #11056

    SKT Themes
    Keymaster
    • Topics: 2
    • Replies: 6160
    • Total: 6162
    Member since: June 12, 2013

    Custom Work actually would have to modify the accordion js.

    Regards,
    Shri

    #11063

    Jatinder Deol
    Member
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: May 23, 2015

    can you help me by this. What have i to do, where is the script stored

    Thanks

    #11074

    SKT Themes
    Keymaster
    • Topics: 2
    • Replies: 6160
    • Total: 6162
    Member since: June 12, 2013

    Hi Jatinder,

    Check line number 48 in wp-content/themes/yourtheme/js/custom.js

    Regards,
    Shri

    #11076

    SKT Themes
    Keymaster
    • Topics: 2
    • Replies: 6160
    • Total: 6162
    Member since: June 12, 2013

    custom.js
    accordion line no.21
    toggle line no. 48
    themes/theme name/js/custom.js

    Regards,
    Shri

    #11077

    Jatinder Deol
    Member
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: May 23, 2015

    Thanks
    for all other peoples
    its the line with this code.

    jQuery(‘.accordion-toggle:first’).addClass(‘active’).next().show();
    deactivate this line and the accordion is closed by entering the website page.

    #96185

    athena.mekis
    Member
    • Topics: 4
    • Replies: 12
    • Total: 16
    Member since: August 15, 2017

    How about being able to close as well as open the accordion?

    #96230

    Forum Moderator
    Member
    • Topics: 0
    • Replies: 17010
    • Total: 17010
    Member since: August 16, 2013

    Hi athena.

    Kindly show us your website URL?

    Regards,
    Chris

    #96917

    athena.mekis
    Member
    • Topics: 4
    • Replies: 12
    • Total: 16
    Member since: August 15, 2017
    #96918

    athena.mekis
    Member
    • Topics: 4
    • Replies: 12
    • Total: 16
    Member since: August 15, 2017

    Additionally, here is my specific accordion code. I like that the first accordion is open, but I’d like to be able to click each one closed as well. http://www.athenamekis.com/rfmacdonaldco

    // accordion
    jQuery(‘.accordion-box .acc-content’).hide();
    jQuery(‘.accordion-box h2:first’).addClass(‘active’).next().show();
    jQuery(‘.accordion-box h2’).click(function(){
    if( jQuery(this).next().is(‘:hidden’) ) {
    jQuery(‘.accordion-box h2’).removeClass(‘active’).next().slideUp();
    jQuery(this).toggleClass(‘active’).next().slideDown();
    }
    return false; // Prevent the browser jump to the link anchor
    });

    #96988

    Forum Moderator
    Member
    • Topics: 0
    • Replies: 17010
    • Total: 17010
    Member since: August 16, 2013

    Hi,

    This can only be done via coder.

    Kindly send us your URL of the site and WordPress admin details (Username & Password) via sktthemes.net/contact Please mention this forum URL while replying so that we understand what needs to be done.

    Regards,
    Chris

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.