Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @themcq

    Looks like this issue with the Gallery block (not widget) was already reported here, so it’ll require a fix either on the Core or theme side:

    https://core.trac.wordpress.org/ticket/56412

    I’ve add your report to the ticket with some additional testing details.

    Try pasting this in the Additional CSS section of the Customizer (under Appearance):

    
    body:not(.search-results) article:not(.type-page) .wp-block-gallery .wp-block-image img.below-entry-meta,
    body:not(.search-results) article:not(.type-page) .wp-block-gallery .wp-block-image figcaption.below-entry-meta {
    	margin: 0;
    	max-width: 100%;
    }
    

    Click Publish to save changes.

    @sabernhardt Thanks for the workaround and adding a patch to the ticket!

    @themcq Let us know if the CSS does the trick for now.

    Thread Starter themcq

    (@themcq)

    Sorry for the delay. I hadn’t had a chance to try it until this morning. It seems to have helped, since I can’t replicate the issue after some testing.

    Unfortunately, I noticed a possibly related problem with an image block in another post. I need to do a bit more testing before reporting it.

    Glad the CSS workaround helped! I’ll mark this thread as resolved, and do feel free to start a new one for the other issue whenever you’re ready.

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

The topic ‘Gallery widget image displays misalligned’ is closed to new replies.