New Landing How can we help? Themeforest Theme Support Pinpoint Collapse all Accordion sections by default

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Pinpoint
  • #1827
    greatjobman
    Member
    Post count: 1

    I would like all accordion sections to be closed by default when the page opens. I noticed in your Knowledge base you mention changing lines in the /js/function.js.php, but I cannot find such a file in the Pinpoint theme folder. I found a /js/function.js and in it are similar lines to the ones you mention, but changing those had no effect.

     

    Please help.

     

    Thanks,

    Bryan

    #1836
    greatjobman
    Member
    Post count: 1

    Figured it out. Change line 601(?) in /js/functions.js from

    <code>jQuery(‘.accordion’).accordion({
    collapsible: true,
    autoHeight: false
    });</code>

    to

    <code>jQuery(‘.ui-accordion’).accordion({
    collapsible: true,
    active: false,
    autoHeight: false
    });</code>

Viewing 2 posts - 1 through 2 (of 2 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