Responsive column number - masonry

2 replies · opened Mar 6, 2021

PpguyardMar 6, 2021

Hi there

I would like to vary the number of columns in a masonry portfolio based on screen size - can this be achieved?

The page I want to implement this in the link.

Thanks

SSemicolon WebSTAFFMar 7, 2021

Hello,

You can simply use the data-xl-col to data-xs-col Attributes on the .masonry-thumbs DIV to define the Columns for different Screen Sizes. Example:
[ch_pre][/ch_pre]

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

PpguyardMar 7, 2021

That's great thanks

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard