If you insert complex modules (which use JavaScript for layout creation) such as Posts, Media Gallery, Before & After inside the Tabs and Panels (Accordion), it may happen that these elements are not inited correctly when you change the state of your tab or panel module.
To fix this problem please insert the referring code inside the Theme Options → JavaScript:
Tab
<script> jQuery(window).on('load',function(){ jQuery(".nav-tabs").on( 'shown.bs.tab', function() { window.dispatchEvent(new CustomEvent('boxResized')); } ); }); </script>
Accordion (Panel)
<script> jQuery(window).on('load',function(){ jQuery(".panel-group").on( 'shown.bs.collapse', function() { window.dispatchEvent(new CustomEvent('boxResized')); } ); }); </script>
Comments
0 comments
Article is closed for comments.