PDA

View Full Version : toggle cubeportfolio not pushing down next content



chechu
01-16-2018, 10:51 PM
Hey all,

I am using cubeportfolio to get masonry filterable portfolio. Worked like a charm, but then I wanted to add a toggle inside the cbp-item.
This is the result (http://www.lichaamengeest.be/AA.php)

You can see that, when toggling the content in the first cbp-item, the content shows behind the cbp-item below, instead of the toggle content pushing the next cbp-item downwards.
Seems like I should add this code, but where and how? Or does anyone have another solution, please?

jQuery('.cbp').cubeportfolio('layout');
Thanks.