-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Cover block regression: impossible to set the width of the inner blocks when using a block theme #37036
Comments
Hi, Thank you for the detailed report. Unfortunately, (disabling width of inner blocks) is currently an intentional design for block-based themes (or any theme that has a theme.json file in it) although as far as I understand, it's not completely set in stone yet. More information is at #33374 where you can share your opinions about it as well. |
Hi @skorasaurus, Thanks for the link, I've seen it. However, I believe that my issue is different as it concerns the Cover block. The Group block has an option to control the layout of the inner blocks, whereas the Cover block has no control. |
Good point, I'll reopen it. |
Seconding this — it would be great to get the "Inherit default layout" toggle onto the Cover block, so that content can be added without it going full-width across the site. For example, the top block here is a cover, and the second is a group. It's possible to contain the group content to the normal, readable, content width, but the cover content is full width. (For a short-term fix, this can be worked around by adding a group block inside the cover.) |
Just chiming in in case anyone else is trying to figure this out, and in favor of letting inner blocks have widths without this workaround. I wanted:
To get wide header content over a full width cover, I needed this combo: I'd also like to utilize wide-width for my archive page layout, but haven't figured that out yet. I'd love for this to be less complicated. |
Just want to see what the status of this issue it. It seems odd that alignwide and alignfull are removed from blocks inside a cover. If, for example, I have two price boxes inside a cover block, I wouldn't want them to take up the entire width inside of the cover block. |
This is possibly related to: It is an absolutely nogo. Can anyone from the gutenberg community please help? So many people are lost. |
+1. This is strange that we don't have control over inner content on a Cover block like we do on a Group block. |
Description
When using a classic theme, the user can set the alignment of the Cover inner blocks: None, Wide width, Full width.
When using a block theme, the alignment controls for the inner blocks disappear. The content is full width which creates readability issues as the line length is too wide.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: