Title: Image gallery error
Last modified: November 5, 2022

---

# Image gallery error

 *  [beatravelling](https://wordpress.org/support/users/beatravelling/)
 * (@beatravelling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/)
 * Hi,
 * If I choose 2 (or more) columns for the image gallery in a blog post, it looks
   correct in the editor, but not in the published blog post (images look to have
   the correct size, but are stacked in 1 column on the left side of the page). 
   It goes for all the blog posts, not just the one I published yesterday. Many 
   thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-gallery-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [wprsupport](https://wordpress.org/support/users/wprsupport/)
 * (@wprsupport)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/#post-16172660)
 * Hi [@beatravelling](https://wordpress.org/support/users/beatravelling/)
 * At first, thank you for choosing our theme and service.
 * Please navigate to Dashboard > Appearance > Customize > Additional CSS section
   add the following snippet:
 *     ```
       figure.wp-block-gallery.has-nested-images {
         display: flex !important;
         justify-content: space-between;
       }
       ```
   
 * Kind Regards
 *  Thread Starter [beatravelling](https://wordpress.org/support/users/beatravelling/)
 * (@beatravelling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/#post-16173310)
 * Thanks! When I add the snippet, all the images in the gallery change to being
   on the same horisontal line. Just one line with as many images as there are in
   the gallery. You can have a look at the same page – I republished. I didn’t change
   anything in the editor, besides adding the snippet. In other words the editor
   still has some galleries with 2 columns and some galleries with 1 column.
 *  [wprsupport](https://wordpress.org/support/users/wprsupport/)
 * (@wprsupport)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/#post-16176922)
 * Hi [@beatravelling](https://wordpress.org/support/users/beatravelling/)
 * Please Navigate to Tools > Site Health > Info (tab) and click on the “Copy site
   info to clipboard” button, then send the information to our email: [info.wproyal@gmail.com](https://wordpress.org/support/topic/image-gallery-error-2/info.wproyal@gmail.com?output_format=md)
 * Also, navigate to Tools > Export – choose All Content and click on Download Export
   File and then send this file to our email –info.wproyal@gmail.com as well
 * We will analyze your system and replicate the same case. This will help us to
   debug the issue much easier and provide a faster solution.
 * Kind Regards
 *  Thread Starter [beatravelling](https://wordpress.org/support/users/beatravelling/)
 * (@beatravelling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/#post-16178939)
 * Will do! Maybe this has something to do with upgrading to WordPress 6.1. This
   was the first blog post I published after upgrading. Have not had this problem
   earlier, and now the error appears on all posts, old and new.
 *  [wprsupport](https://wordpress.org/support/users/wprsupport/)
 * (@wprsupport)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/#post-16181469)
 * Hi [@beatravelling](https://wordpress.org/support/users/beatravelling/)
 * Site health info will instruct us if there are any related issues, and we will
   do our best to help you.
 * Kind Regards

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

The topic ‘Image gallery error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/ashe/2.269/screenshot.jpg)
 * Ashe
 * [Support Threads](https://wordpress.org/support/theme/ashe/)
 * [Active Topics](https://wordpress.org/support/theme/ashe/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/ashe/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/ashe/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [image](https://wordpress.org/support/topic-tag/image/)

 * 5 replies
 * 2 participants
 * Last reply from: [wprsupport](https://wordpress.org/support/users/wprsupport/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/image-gallery-error-2/#post-16181469)
 * Status: not resolved