Added 3 items to a page and added the hide-on-mobile additional class to each item.
The 1st item is a gallery that also has an additiional class called “masonry-gallery”. In this case, the hide-on-mobile does not work and is not even seen (as a class) when viewed with Inspector.
The 2 other items, a headline and a plain gallery work as expected.
Is there a way to get the hide-on-* class to be persistent when combined with the masonry-gallery class?