• Yours is a great plugin. I have however noticed some minor issues that are impeding full control.

    I am using the Simply Masonry block and while creating a gallery, the block settings show two Custom CSS sections. This is confusing.

    More importantly a note in this section reads ‘You can also use other CSS syntax here, such as media queries.’. However, when I am adding a media query, while it gets accepted and works correctly on the admin side, on the front end, the media query is getting prepended with ‘div[data-gallery-id=”34c9ead7_1616998808158″]’ and this is breaking the media query.

    It would be nice if someone could suggest a way to overcome the issue or fix it in the next update.

    I have not tried the behavior of media query with the other blocks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author GalleryCreator

    (@gallerycreator)

    excuse me, for the fact that I did not remove the universal messages of the CSS editor and they misled you. All CSS entered in the block settings will be applied only to the edited gallery (via the gallery ID).

    Plugin Author GalleryCreator

    (@gallerycreator)

    there are tons of ways to add any CSS to a post (without any restrictions) and not use my humble editor 🙂

    Thread Starter narainrajat

    (@narainrajat)

    I totally agree and I have already implemented that in my case.

    However, since there are provisions to add Custom CSS, I would have preferred if all related css would be in one place, i.e. in the editor itself. If only the gallery ID could be appended to the css following the media query it would possibly be a useful feature addition.

    Also, maybe I should raise another ticket for this, but I had another suggestion.

    The Global settings, in my view should ideally work as a default with any specific setting in the gallery overriding the default. Currently, we are being able to use either the Global settings or the local settings but not an override of the global settings.

    Take for eg. the custom CSS. If I set them in the Global settings, it does not get applied to a gallery unless I select ‘Global Preset Priority’. So I decide to use ‘Global Preset Priority’. Now lets say, in the global settings I had set the number of columns to 3. In the current gallery the only setting that I want to change in comparison to the global settings is the number of columns, to say 4.

    It would have been less tedious if I could simply set the columns to 4 while all other global settings would still apply.

    Currently I am having to individually set all the options for each gallery which is time consuming.

    Thread Starter narainrajat

    (@narainrajat)

    Would also like to add that in the backend, if you set the ‘Global Preset Priority’ and then alter some local settings, all changes in the local set up get reflected on the display as an override of the global settings, which is what is desirable.

    However, on the front end, only the settings from the global settings get applied.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Media Queries failing’ is closed to new replies.