Recover that lost column when going from editor to front end.
For some reason when using the built-in WordPress galleries one column is lost from the front end. Anyway, the fix is simple enough. Just add the following CSS to the main CSS file.
/* Fix the issue of galleries losing one column from editor to view. */
:root {
--wp--style--unstable-gallery-gap:0.5rem;
}
:root :where(.is-layout-flex) {
gap: var(--wp--style--unstable-gallery-gap);
}
You must be logged in to post a comment.