Title: Gallary alignment issue
Last modified: November 5, 2022

---

# Gallary alignment issue

 *  Resolved [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * (@ahmedansi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/gallary-alignment-issue/)
 * Dear Sir,
    I have an gallery alignment issue since last wordpress update, and
   the pics alignment on verticle even when trying to fix alignment and size nothing
   is done. The issue accord to all posts new and old one’s. Pic’s seems to be running
   into each other in this alignment and I tried to fix the issue using .is-layout-
   flex{display:flex;} but still the images are too small and not aliged in proper
   way and moreover the caption-text is set to thr right of the gallary, even if
   I set the caption text to below the pics alignment retrieve its missed up order(
   vertical alignment). Is there a way to fix this issue Or even downgrade wordpress
   to older version Thanks… BR
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgallary-alignment-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/gallary-alignment-issue/#post-16168880)
 * Looking at your site, you use `Astra` theme.
 * I recommend asking at [https://wordpress.org/support/theme/astra/#new-post](https://wordpress.org/support/theme/astra/#new-post)
   so its developers and support community can help you with this.
 *  [carlosvai](https://wordpress.org/support/users/carlosvai/)
 * (@carlosvai)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/gallary-alignment-issue/#post-16169148)
 * [@ahmedansi](https://wordpress.org/support/users/ahmedansi/) try one of these
   fixes.
    They both worked for me! [https://wordpress.org/support/topic/gallery-block-images-are-not-side-by-side-2/](https://wordpress.org/support/topic/gallery-block-images-are-not-side-by-side-2/)
   [https://wordpress.org/support/topic/defulat-photo-gallery-dosnt-work-after-6-1-updat/](https://wordpress.org/support/topic/defulat-photo-gallery-dosnt-work-after-6-1-updat/)
 *  Thread Starter [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * (@ahmedansi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/gallary-alignment-issue/#post-16170195)
 * [@carlosvai](https://wordpress.org/support/users/carlosvai/)
    Thanks a lot it
   worked with code I found on your given link Thanks again and have a nice day

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

The topic ‘Gallary alignment issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/gallary-alignment-issue/#post-16170195)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
