Skip to content

Commit e5017bf

Browse files
committed
MC-2369: Implement full width layout for category
- Ensure page layout class is correctly applied to wrapping element
1 parent 1c1a0c1 commit e5017bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/PageBuilder/view/frontend/page_layout/category-full-width.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
-->
88
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
99
<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"/>
1013

1114
<container name="columns.top.wrapper" htmlTag="div" htmlClass="page-main"/>
1215
<move element="columns.top" destination="columns.top.wrapper"/>

0 commit comments

Comments
 (0)