Hi,
how can I re-initialize the masonry portfolio when its located in a tab?
I'm using the version 6.xx of Canvas.
Thank you,
Karls
2 replies · opened Apr 26, 2021
Hi,
how can I re-initialize the masonry portfolio when its located in a tab?
I'm using the version 6.xx of Canvas.
Thank you,
Karls
Hello,
Consider using the following JS Code at the bottom of the Page:
[ch_pre]<script>
jQuery( '.tabs' ).on( 'tabsactivate', function( event, ui ) {
setTimeout(function(){
$('.grid-container').filter('.has-init-isotope').isotope('layout');
}, 500);
});
</script>[/ch_pre]
This should definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Thank you!
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard