Accordion and Toggle

Please follow the below method if you want to close the all accordion tabs at the beginning,And open the first toggle tab at the beginning.

Accordion

Accordion displays collapsible content panels for presenting information in a limited amount of space.With our theme when you have used accordion, in the initial stage the first tab will in open status.

To close the all tabs, Open the file in this path /wp-content/plugins/designthemes-core-features/shortcodes/js/shortcodes.js using some editor like DreamWeaver and scroll to “accordion & toggle“. function there you need to comment the line like the image.

Toggle

When you have used toggle framework, in the initial stage all tabs will be in closed status.

To open the first tab by default, Open the file in this path /wp-content/plugins/designthemes-core-features/shortcodes/js/shortcodes.js using some editor like DreamWeaver and scroll to “accordion & toggle“. function there you need to add below line like the image.

$('.dt-sc-toggle:first-child').trigger('click');

Rate This Article

(2 out of 11 people found this article helpful)

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.