Hybrid theme not accessing alignwide class
-
A few days ago I noticed all of the blocks set to Wide-width are not wide.
This is a hybrid theme I built in 2021-22 and it’s been working great until now. Maybe the 6.4.3 update? I’ve tried all the classic troubleshooting steps: plugins off, caches cleared, checked other browsers… and more.
It must be a theme problem because the style works with TT4 theme.
One important difference I can see is that in TT4, the Media-Text block has this style
body .is-layout-constrained > .alignwide {
max-width: var(–wp–style–global–wide-size);
}whereas my theme does not. In fact the definition of .alignwide is nowhere to be found.
Yes, I do have the following in theme . json
“settings”: {
“layout”: {
“contentSize”: “768px”,
“wideSize”: “1200px”
},I have several theme supports enabled in functions . php and notice that TT4 has none. Mine include…
– add_theme_support(‘wp-block-styles’);
– add_theme_support(‘align-wide’);I hope someone can send me in the right direction.
Thank you!
The page I need help with: [log in to see the link]
- The topic ‘Hybrid theme not accessing alignwide class’ is closed to new replies.