New Landing How can we help? Themeforest Theme Support Neighborhood Making Product Accordion not collapsible

Viewing 10 posts - 1 through 10 (of 10 total)
  • #81182
    lobbybros
    Member
    Post count: 52

    Hello,

    I would like to make the product accordion not collapsible, so that sections close only when another section is opened and opened sections cannot be closed (basically, i would like for one section to always be open). I was able to find where to do so for the shortcode accordion (functions.js, line 1294, set collapsible to false), but cannot find it for the product accordion. Where can I do this?

    Thks and kind regards
    Claudia

    #81219
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi,

    could you let me know which shortcode you’re exactly using? I’d like to make sure I’m looking for the correct thing.
    As “collapsible” is only mentioned in the very position you already found, we might need to add custom code to the js, if we can find the correct one ๐Ÿ™‚

    Thank you!

    #81506
    lobbybros
    Member
    Post count: 52

    Hi, thank you for your reply!
    I’m not using a shortcode, but rather the default accordion in the product page (Description and Review only, I eliminated Additional Information”).

    #81536
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit sf-woocommerce.php at /neighborhood/includes/swift-framework/.

    Find this code:
    class="accordion-body collapse">
    
    Replace with 
    class="accordion-body collapse in">
    

    Hopefully that should help and let me know your feedback.

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #81596
    lobbybros
    Member
    Post count: 52

    Sorry but that’s not what I’m looking for…here is an example of what I mean:
    http://www.adipalaz.com/experiments/jquery/nested_accordion_hover_demo.html

    Thks and kind regards!

    #81654
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am not sure about it so developer of theme will assist you very soon.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #81776
    lobbybros
    Member
    Post count: 52

    Thks! I await further news.
    Kind regards
    Claudia

    #81853
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Unfortunately I don’t think that is possible with the bootstrap accordion. You’d need to replace the code for it if you needed that kind of functionality, unfortunately something we can’t support.

    – Ed

    #81876
    lobbybros
    Member
    Post count: 52

    OK, thks for yr reply and for clearing that up!

    #81941
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its ok.Thanks Ed :-).
    With Best Regards
    Swift Ideas

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register