Hi Anders,
Thank you. I’ve updated to 0.5 and I’m still having the same issue after rebuilding the header with the new pattern and playing with variations of grouping / inheriting.
Weirdly, the footer (which I haven’t touched) is still fine.
After realising that the monitor I was looking at was less than 1920px resolution, I zoomed out and saw that it did limit the width at higher resolutions by means of:
.wp-container-61b32f2922262 > .alignwide {
max-width: 1920px;
}
I took a quick look at the inspector and it seems that there’s nothing adding any padding or gutter to the header. For example, other sections of the site have
width: calc( 100% - ( 2 * var( --wp--custom--gutter ) ) ) !important;
but this isn’t being applied to the header.
I think the footer is being saved by the fact that it has a background colour, which is adding padding via:
:root .wp-block-group.has-background {
padding: var( --wp--custom--inner-container-spacing );
}
Any suggestions?
-
This reply was modified 2 years, 11 months ago by kense.