Important notice!

We have released an important security update for Bold Builder on August 23, 2019 - please make sure that your Bold Builder installation is updated to the latest version - 2.3.2.

You can update Bold Builder by going to Plugins panel of your wp-admin and by checking the version number next to Bold Builder. If you are offered the option to update it, please do it.

If your version number is lower than 2.3.2 and you have no notification to update it, please download the latest version from https://wordpress.org/plugins/bold-page-builder/ and update the plugin manually.

If you need help in the process, please feel free to leave a ticket and we will assist you.

Okay
  Public Ticket #1839179
Close all items of an accordion element
Closed

Comments

  • howard started the conversation

    Hello

    How does one Close all items of an accordion element in Shopscape.

    I see 'https://boldthemes.ticksy.com/ticket/1739350' but it doesn't seem to apply to Shopscape

  •  919
    Support Agent 1 replied

    Hi Howard,

    In order to make a page load with accordions collapsed by default, please navigate to Plugins> Editor, select shopscape/bt_elements.js file, and in that file please locate the following line of code and remove it, or comment it out:

    $( '.tabsVertical' ).each(function(){
    $( this ).find( '.tabAccordionTitle' ).first().click();
    });
    

    That code is on line 174:

    6803837078.png

    Let us know if you need additional assistance.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • howard replied

    That worked, thanks!
    Should this actually be done in the Child theme to stop it being written over in a future update?
    If so, please provide some pointers on how to do this in the Child theme

  •  919
    Support Agent 1 replied

    Hi Howard,

    You're welcome!smile.png We are glad we could help!

    We will take a closer look at this and we will get back to you tomorrow.

    Thank you for understanding!


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  •  919
    Support Agent 1 replied

    Hi Howard,

    Thank you for your patience!

    Please note that  since the code is related to the plugin, and not to the theme, it can't be placed to the child theme's functions.php.

    It would require additional customization and modifications. You can refer to the following forum:

    https://wordpress.stackexchange.com/questions/198120/how-child-themes-directory-works-for-plugins

    Let us know if you need help with anything else.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!