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

I should be able to set the Group block “inherit” setting to true from theme.json #34589

Open
richtabor opened this issue Sep 6, 2021 · 4 comments
Labels
[Block] Group Affects the Group Block (and row, stack and grid variants) [Type] Enhancement A suggestion for improvement.

Comments

@richtabor
Copy link
Member

What problem does this address?

This setting has a big impact in how child blocks within Groups display (either inheriting the parent block’s alignment width, or allowing individual blocks to set their own alignment).

Having the ability to set the default value here from theme.json would allow users t maintain the theme’s intended layout flow.

Group 174

What is your proposed solution?

When building out a new page, the theme’s default would be set initially for the Group block — ensuring content is laid out as intended by the theme (as the theme set this value's default).

@richtabor richtabor added [Type] Enhancement A suggestion for improvement. [Block] Group Affects the Group Block (and row, stack and grid variants) labels Sep 6, 2021
@landwire
Copy link

landwire commented Apr 2, 2022

Is that somehow possible yet? I find the current group block behaviour very unintuitive.

@imnavanath
Copy link

Is there any solution on this or any workaround is there? Might be in WP-6.0?

@imnavanath
Copy link

This solution worked for me - #33374 (comment) Thanks @mrwweb 🎉

@NicoHood
Copy link

@imnavanath Will this be implemented for the next astra release? I remember, that the solution does not work for all blocks, there are still some left, that do not work yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Group Affects the Group Block (and row, stack and grid variants) [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants