Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Gallery block shows on one column all the time #318

Open
andreiungurianu opened this issue Mar 24, 2022 · 0 comments
Open

Default Gallery block shows on one column all the time #318

andreiungurianu opened this issue Mar 24, 2022 · 0 comments
Labels
Legacy v1 Updates for existing Rosa2 customers that won't get Rosa LT [Type] Bug

Comments

@andreiungurianu
Copy link

andreiungurianu commented Mar 24, 2022

If I add the default Gallery Block on a page, it seems to only show images in a single column. This happens both in the editor and live website. I tested with a default theme and this is not happening.

Editor
CleanShot 2022-03-24 at 15 01 43

Live website
CleanShot 2022-03-24 at 15 02 31

Temp fix

.wp-block-gallery {
    display: grid;
    gap: 20px;
}

.wp-block-gallery[class] > * { margin: 0 }

@media only screen and (min-width: 1000px) {
    .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, 1fr) }
    .wp-block-gallery.columns-3, .wp-block-gallery.columns-default { grid-template-columns: repeat(3, 1fr) }
    .wp-block-gallery.columns-4 { grid-template-columns: repeat(4, 1fr) }
}

I'm using Rosa Version: 1.13.0, Nova Blocks Version 1.13.4, WP 5.9.2.

@andreiungurianu andreiungurianu added [Type] Bug Legacy v1 Updates for existing Rosa2 customers that won't get Rosa LT labels Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Legacy v1 Updates for existing Rosa2 customers that won't get Rosa LT [Type] Bug
Projects
None yet
Development

No branches or pull requests

1 participant