File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/PageBuilder
view/frontend/page_layout Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ public function beforeRenderResult(
41
41
if ($ subject ->getConfig ()->getPageLayout () == 'product-full-width ' ) {
42
42
$ subject ->getConfig ()->addBodyClass ('page-layout-1column ' );
43
43
}
44
+ if ($ subject ->getConfig ()->getPageLayout () == 'category-full-width ' ) {
45
+ $ subject ->getConfig ()->addBodyClass ('page-layout-2columns-left ' );
46
+ }
44
47
45
48
return [$ response ];
46
49
}
Original file line number Diff line number Diff line change 7
7
-->
8
8
<layout xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_layout.xsd" >
9
9
<update handle =" 2columns-left" />
10
-
11
- <!-- Ensure the 2columns left page layout class is present in the DOM -->
12
- <referenceContainer name =" page.wrapper" htmlClass =" page-wrapper page-layout-2columns-left" />
13
10
14
11
<container name =" columns.top.wrapper" htmlTag =" div" htmlClass =" page-main" />
15
12
<move element =" columns.top" destination =" columns.top.wrapper" />
You can’t perform that action at this time.
0 commit comments