You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
In most of the style variations (9 out of 10), the Post Title block is set to use Wide alignment and be left-aligned, which offsets it to the left of the content below it on desktop – like this, for example:
In my experience working with WordPress users, a lot of folks often don't like things that are offset from the content like this, as it can look unbalanced. Instead, many people prefer to have the post/page title either aligned with the content below it, or centered above it. In the past, this usually took custom CSS to achieve, but with FSE they can now de-select the Wide alignment option instead in the Page and Single templates. I'll certainly document that route, but I'm still concerned that this manual avenue isn't going to be intuitive or obvious to many folks.
Could we perhaps consider modifying at least a couple of the variations so that the title is aligned with the content, or centered? Examples would look like:
This would also help provide a bit more layout variety when users are browsing Styles.
Thanks for considering!
The text was updated successfully, but these errors were encountered:
This is not possible to do with style variations.
Theme.json can not be used to align blocks to left/right/center/none/wide or full.
Please see WordPress/gutenberg#44007
It can only be achieved in the template or with custom CSS (it was decided not to use CSS).
Oh interesting, thanks for letting me know, @carolinan!
Could we perhaps consider a different method, such as what the yellow-background variation did. It's the only one of the ten variations to have the post title aligned with the content. I see that the Post Title block is still set to Wide alignment, but the width is defined as 650px:
Could we perhaps consider a different method, such as what the yellow-background variation did.
This variation (Canary) is setting the settings.layout.wideSize to 650px, which is why the post title is aligned with the content here. So in order to replicate this, we'd need to set this smaller wideSize width on more variations, which will probably have significant affects on the rest of the variation.
@beafialho, do you think any of the current variations would work well with the reduced wideSize content width, similar to Canary?
Alternatively, there are plans to continue building more variations for TT3 beyond the WP 6.1 release (for fun/learning etc!), perhaps we could consider trying this out then?
In most of the style variations (9 out of 10), the Post Title block is set to use Wide alignment and be left-aligned, which offsets it to the left of the content below it on desktop – like this, for example:
In my experience working with WordPress users, a lot of folks often don't like things that are offset from the content like this, as it can look unbalanced. Instead, many people prefer to have the post/page title either aligned with the content below it, or centered above it. In the past, this usually took custom CSS to achieve, but with FSE they can now de-select the Wide alignment option instead in the Page and Single templates. I'll certainly document that route, but I'm still concerned that this manual avenue isn't going to be intuitive or obvious to many folks.
Could we perhaps consider modifying at least a couple of the variations so that the title is aligned with the content, or centered? Examples would look like:
This would also help provide a bit more layout variety when users are browsing Styles.
Thanks for considering!
The text was updated successfully, but these errors were encountered: