Different width vaules for masonry-items

Created on 19 October 2014, over 9 years ago
Updated 26 April 2023, about 1 year ago

Hey,

I'm wondering if it's possible to give the masonry-items different width values. Now, in views you can only set one width value for all the items. All the item have the same width, but it would be a nice addition to give masonry another width value based on a filter.

E.g. standard width is 250 px but items with "node type: event" get 500px.

An example of what I have in mind: http://erikjohanssonphoto.com/work/imagecats/personal/

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

User interface

Created by

πŸ‡§πŸ‡ͺBelgium apoc1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡«πŸ‡·France Dom.

    @kopeboy: this module allows only what is permitted by the masonry upstream library.
    I would be pleased to help with adding features in the module if needed, but I need help to understand the requirements of the case.
    Does masonry allow multiple width to be passed ? I am not aware of that, I think you provide the element with the smallest width as a base size and the rest is computed from there. So having width which are multiple of one another is the best in this case.

Production build 0.69.0 2024