add .masonry class github ?
-
Hi Anders Noren and thanks for this great theme !!!
Could you please change
<div class="posts">to
<div class="posts masonry">and
$blocks.masonry({ itemSelector: '.post-container' });to
if ($blocks.hasClass( "masonry" )){ $blocks.masonry({ itemSelector: '.post-container' }); }?
It would be easier to build templates (and child themes) who don’t need to have masonry enabled.BTW, you should put your theme on Github, so people could collaborate !
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘add .masonry class github ?’ is closed to new replies.
