DUPLICATE: Image gallery: Theme Styles and Layout options are flaky

Bricks Version: 1.6.2
Browser: Chrome 110.0.5481.100 (Official Build) (64-bit)
OS: Linux Mint 21.1
URL: https://glca.brandartery.de/caromb/

Element layout options not working

When adding images to the Image Gallery and selecting Masonry layout, the images show below each other in full-width, depending on what width one selects in the dropdown menu above.

When playing some more with the options, all the images disappear and one needs to refresh the browser window. Changing the number of columns has no effect.

Theme Styles not working properly

Setting Layout or Column options in Theme Styles > Image Gallery has no effect.

Video

Regarding the masonry part: There is an issue if the spacing is left to its default value of 0 (without a unit). In this case the calculation Bricks uses to determine the column widths returns a percentage value where it needs a pixel value to function correctly. Definitely a bug.

A workaround for now is to explicitly add the unit to the spacing: 0px.

See Video uploaded to CleanShot Cloud.

Sick! It works! Thanks :slight_smile:

Hey Matt,
It’s already solved in 1.7 beta:

I’ll close this thread :v:

1 Like