javascript - Masonry grid sizer issue -
i've been @ whole day , i'm losing live @ point because of this.. trying create system recent posts fit onto 1 page. behold! succeeded. well, sort of. have ran issue using masonry, while trying create that. when using '.grid-sizer', having set in css , applied in html, doesn't work @ all.
for example:
.grid-sizer { width: 49.62%; }
and html:
<div id="msonrycontainer" class="js-masonry" data-masonry-options='{ "columnwidth": ".grid-sizer", "itemselector": ".post" }'> <div class="grid-sizer"></div> <div id="content">
now love of god, bloody thing doesn't work, every other option works, sizing of grid doesn't. unless set div values pixels, opposed percentage, since trying make responsive layout, doesn't work.
at point hope pretty lost, had resort posting here.
just in case wanna know how mess looks:
Comments
Post a Comment