Support » Fixing WordPress » WP 5.3 and Gutenburg breaks caption text alignment

  • When I updated a production site to 5.3 and whichever version of Gutenburg it has it broke text caption alignment. Now, no matter what I pick, I would normally center align captions on this site they all align left now. This was working properly before the 5.3 update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Joy

    (@joyously)

    WP 5.3 made some changes to the block markup, which can affect the styles that the theme uses.
    If your theme contains styles for the caption, it might need an update.
    For reference: https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/

    I am having this issue. And it seems that the theme creator is not going to update anything. How cna I update this? I have tried to add some addition CSS to make it align, but it doesn’t work. I added
    .wp-caption .wp-caption-text {
    text-align: center;
    }
    to the additional CSS area.
    The pictures are center aligned, but the captions are left aligned.

    This is really annoying.

    • This reply was modified 1 day, 16 hours ago by smittyatl.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.