Skip to content Skip to sidebar Skip to footer

Height Of Hidden Div Doesn't Expand With Masonry Content

I have a script that toggles the visibility of a div, inside of the div is content loaded with the masonry plugin. The issue I'm having is that the masonry div (and as a result th

Solution 1:

I had faced smiler problem few day ago. what you need to do here, when you click to open hidden div than you have to reload masonry view. By using below.

$("#step-1").click(function () {
     $("#content-step-1").toggle("fast");
     $container.masonry('reload');
});

Post a Comment for "Height Of Hidden Div Doesn't Expand With Masonry Content"