Describe the bug
On a template that inherits from another template, if each template part uses its own page-width value, the rendered page has sections of different page-width.
To Reproduce
Create "Main" Template, for "Catch All"
Add a header of page-width and an Inner Content and save
Create "Blog" Template that inherits from "Main", for "Blog Posts Index".
Add a section of page-width containing an Inner Content
Set this template's Settings > Page Width to 600px and save
Regenerate CSS Cache
Now see the homepage on frontend.
Expected behavior
The page should look as it looks in backend, all page-widths of 600px width.
What actually happens
Instead, the page-width is the default 1120px used by the top level template.
The actual CSS for 600px is there, but it is overwritten.
Describe the bug On a template that inherits from another template, if each template part uses its own page-width value, the rendered page has sections of different page-width.
To Reproduce Create "Main" Template, for "Catch All" Add a header of page-width and an Inner Content and save Create "Blog" Template that inherits from "Main", for "Blog Posts Index". Add a section of page-width containing an Inner Content Set this template's Settings > Page Width to 600px and save Regenerate CSS Cache Now see the homepage on frontend.
http://relieved-sandpiper.w5.wpsandbox.pro?upass=6D0mhF0pYnF8
Expected behavior The page should look as it looks in backend, all page-widths of 600px width.
What actually happens Instead, the page-width is the default 1120px used by the top level template. The actual CSS for 600px is there, but it is overwritten.
Additional context Could be related to #231