Accordion expending height more then content

take a look at the accordion on this page:
http://sydney.onlinehubcenter.com/family-resouce-centers/1

The last accordion–success stories–has the biggest height window when expended. all the other accordion sections take up the same space when expanded. In other words, when you expand “home visitation” it takes up much more space then its content. How can i get the expanding height of the accordion to only open to how much content is present?

Hello,

Try to temporarily deactivate all your plugins except Sydney Toolbox and Page Builder by SiteOrigin, and see if it helps.

Kind Regards, Roman.

same results after disabling plugins.

looked at the API on jquery and figured it out.

$( function() {
$( “#accordion” ).accordion({
heightStyle: “content”
});
} );

1 Like

Great! Tank you for sharing that :slight_smile:

Kind Regards, Roman.