Set Collapsible Section to Expanded by Default

Labels

This Discussion is public

Notifications

Looking to set a collapsible section to expanded by default.  I found the aria-expanded line for that section of code on the site, but not sure what code to add where. 

The collapsing and display is triggered by jQuery and driven by CSS. The aria has nothing to do with it. Aria is information used by accessible readers.

Considering this is all part of Formidable's built-in functionality, I don't think you'd be able to override the jQuery, but if you edit the section's HTML in the Customize HTML page, you may be able to achieve what you want.

I would remove the shortcode for [collapse_class] and replace it with your own custom class. You'd have to create the CSS and jQuery to toggle the section yourself.

Reply to this Discussion