WordPress native gallery not displaying correct
-
Hello!
Just today I wanted to add some gallery photos to one of my WordPress posts. As I did so, I chose to display them in a grid with thumbnails sized images but noticed the images takes up 100% of the post width instead. I thought it might be a plugin I have interfering, so I disabled all plugins except for Jetpack, cleared my browser cache just in case and updated the post with the same results unfortunately.
Looking at the main CSS file in the theme from the Firefox inspector, I can see that the CSS for the gallery items have 100% width and height which seems to be the issue as well as “padding-bottom:100%” to the a-tags wrapping the images. Although, even if I change the width and height to “auto”, remove the paddings from the links, the gallery items images looks correct but wont display properly but stacks on top of each other instead.
Is there a fix or update for this perhaps?
Thanks!
The topic ‘WordPress native gallery not displaying correct’ is closed to new replies.
