soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 31 forks source link

Page-Width Template Inheritance #265

Open albertso opened 5 years ago

albertso commented 5 years ago

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

shmaltz commented 3 years ago

+1 having this issue as well.

shmaltz commented 3 years ago

Will this ever get fixed?