Skip to content

Commit 0cd7912

Browse files
author
Cari Spruiell
committed
MC-2371: Implement full width layout for CMS pages
- created full width layout configuration for CMS pages
1 parent eedfd38 commit 0cd7912

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
9+
<body>
10+
<container name="cms.content">
11+
<block class="Magento\Cms\Block\Page" name="cms_page" htmlClass="pagebuilder-full-width"/>
12+
</container>
13+
</body>
14+
</page>

app/code/Magento/PageBuilder/view/frontend/page_layout/fullwidth.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@
2424
<container name="category.cms.wrapper" htmlTag="div" htmlClass="page-main" htmlId="category.cms.wrapper"/>
2525
<move element="category.cms" destination="category.cms.wrapper"/>
2626
<move element="category.cms.wrapper" destination="category.view.container" after="category.description.wrapper"/>
27+
28+
<!-- configuration for CMS Page -->
29+
<move element="cms.content" destination="page.wrapper" after="columns.top.wrapper"/>
2730
</layout>

0 commit comments

Comments
 (0)