Closed itsamoreh closed 1 year ago
@itsamoreh I think you will need to add Inner blocks use content width
on the ( inner ) blocks, will check and see if this work in this case.
Also i notice that the layout is been overridden by some inline styles, https://github.com/WordPress/gutenberg/issues/36135
Looks like some inline styles from WP are killing the content-size
the .entry-content
div is getting the same override, so we can't go window full-width on blocks contained. I'm unsure yet where that override is coming from or why. We could custom roll some styles applied .entry-content
to not have a max-width, and apply styles based on the alignment sizes.
I set
contentSize
andwideSize
intheme.json
like this:see https://fullsiteediting.com/lessons/theme-json-layout-and-spacing-options/#h-how-to-set-content-width-using-theme-json
These settings work in the editor but not on the frontend.
Editor
Frontend