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

---

# Pics alignment issue

 *  [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * (@ahmedansi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/pics-alignment-issue/)
 * Hello,
    As i went today to check my blog, I found that gallery images changed
   the alignment to vertical rather then horizontal. Knowing that i tried to edit
   and return it to its previous status but with no use. Since last update of wordpress
   system that was 3 or 4 days ago, everthing got messed up on my blog. Any idea
   how can I fix this issue? and thanks in advance
    -  This topic was modified 3 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpics-alignment-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/pics-alignment-issue/#post-16167013)
 * Try to clear your litespeed-cache or disabled this plugin.
 *  Thread Starter [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * (@ahmedansi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/pics-alignment-issue/#post-16168535)
 * Thanks for your response, but I already tried both clearing litespeed cache and
   deactivating the plugin but nothing worked
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/pics-alignment-issue/#post-16168549)
 * There is now a core ticket for this bug: [https://core.trac.wordpress.org/ticket/56970](https://core.trac.wordpress.org/ticket/56970)
 * A short-term interim solution could be the following CSS code:
 * `.is-layout-flex { display: flex; }`
 * You would have to enter this in Appeareance > Customizer > Additional CSS.
 *  Thread Starter [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * (@ahmedansi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/pics-alignment-issue/#post-16168617)
 * That worked… thanks for your help
    I still have one question, how can I set gallery
   caption under the gallery with the same code
 *  Thread Starter [ahmedansi](https://wordpress.org/support/users/ahmedansi/)
 * (@ahmedansi)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/pics-alignment-issue/#post-16168620)
 * Moreover the size of the images got much smaller

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

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
