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...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jerenus’s picture

Dom.’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Active » Needs work

The 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.

Dom.’s picture

Project: Masonry API » Masonry Views
Status: Needs work » Closed (duplicate)