Skip to content
Public Ticket #28420

Galleries not showing properly

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

About this issue, please try to turn off the HTML Minify by going to Appearance → Customize → Speed Optimization → Optimize HTML. Clear all the site caches and then check again.

Regards,
PenciDesign.


aynis replied

Customer Reply

I added the code and cleared all the site cache and browser cache.

I checked and it looks like that on mobile devices the galleries are showing as they should, on Google Chrome they are working as well but on Firefox they are still not showing properly ?‍♀️

There is still the issue with one of my HTML boxes - it keeps showing after the article instead of where I added it in the back end - please see attachment.



PenciDesign Supporter replied

Staff Reply

Hi,

Please try to modify the CSS code:

.wp-block-gallery {
  --wp--style--unstable-gallery-gap: 15%;
}

Clear all site caches and browser caches, and then check again.

Regards,
PenciDesign.


aynis replied

Customer Reply

Unfortunately none of the CSS code is fixing this issue - the galleries are not working and my HTML box keeps appearing at the end of blog post instead of the beginning.

I tried switching off and on the plugins - nothing is changing.

I re-uploaded the latest update of the theme - no change.

I re-installed the newest WordPress version - no change.

PenciDesign Supporter replied

Staff Reply

Hi,

The problem is that the front-end missing some CSS variables, so all the images can't show correctly.

Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

.wp-block-gallery.is-layout-flex {
  --wp--style--unstable-gallery-gap: 40px;
}

Regards,
PenciDesign.



aynis replied

Customer Reply

It seems I am experiencing more issues apart from the galleries and slider not working properly - I have this one html box that keeps appearing in different place that it should. In every blog post that this piece of html is included it started to appear after the post and not in the chosen part. See attachement and link:

https://wszedobylscy.com/uzbekistan-jak-zaplanowac-podroz-informacje-praktyczne

I've put the html box almost at the beginning of the articles and it shows at the end.

aynis replied

Customer Reply

Unfortunately it isn't working - I checked other blog posts and all the galleries are not showing as they should. In editing mode they look fine but once they are published it is just like regular pictures.

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

.wp-block-image.size-large {
  --wp--style--unstable-gallery-gap: 30px;
}

Regards,
PenciDesign.



PenciDesign Supporter replied

Staff Reply

Hi,

Can you send some post URLs that contain this issue?

Regards,
PenciDesign.


aynis replied

Customer Reply

I just checked some random blog posts but the galleries are still not working properly, especially the ones with horizontal pictures :(

aynis replied

Customer Reply

Thank You for Your help!


Did You a chance to look at my issue with slider as well?

PenciDesign Supporter replied

Staff Reply

Hi,

I've fixed this issue by adding this CSS code to Appearance → Customize → Custom CSS:

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
  width: calc( 50% - 30px);
}

Regards,
PenciDesign.



PenciDesign Supporter replied

Staff Reply

Hi,

For this case, please send me your WordPress admin account in a PRIVATE reply.
I'll log in and try to help you check this problem.

Regards,
PenciDesign.



aynis replied

Customer Reply

I already have installed this plugin a while ago and it was working just fine up until now. Just yesterday it stopped showing properly.

Also I have been having some issues with slider - showing empty space and two slides even though I have selected just one slide without auto play - see in attachment.

I didn't add any new plugins lately and every one in up to date as well as Word Press.

aynis started the conversation

Conversation Start

Hi,

I have noticed that galleries are not showing properly in my blog posts - instead of a gallery with two colums they are showing like regular pictures.

Want to join this conversation or access attachments? Sign in first.