This is my first time to use "jQuery Masonry" & "Masonry Views" module. It seem doesn't work fine when I finished all the steps of configuration. I checked the js file loading and the config of views. Everything is here and it should be work.
When I go back to the Masonry, I find the reason. I saw the line "All sizing of items is handled by your CSS.". Does this mean that the width of the grid item is nothing to do with the "itemSelector" setting variable.
And I go back to the setting of Masonry views. I can just find the setting of "Column width" and there haven't the setting of "Masonry Item". So if we don't add some simply css to define the with of our view items, it won't look fine by default.
So I think we can just use the value of the setting of "Column width" to be the default value of the width of views items.
Patch coming soon...
Comment | File | Size | Author |
---|---|---|---|
#1 | masonry-set_width_to_masonry_items-2499467-1.patch | 1.21 KB | Jerenus |
Comments
Comment #1
Jerenus CreditAttribution: Jerenus commentedPatch here.
Comment #2
Dom. CreditAttribution: Dom. commentedThe idea is good, but this patch does not take margin and gutter into consideration, nor the pixel / percent unit.
Moreover, it does not apply on 3.x
I think maybe adding some css within the module (as part of a default skin for instance) would be the best.
Comment #3
Dom. CreditAttribution: Dom. commentedCorrection on #2278909: Cannot make masonry effect work [FIXED].