Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 3155d33

Browse files
committed
Merge master
2 parents 7bf8d24 + 3e4cdc4 commit 3155d33

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed
Loading

src/guides/v2.3/frontend-dev-guide/layouts/layout-create.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,25 @@ For example, if a new page is going to be designed as `3-columns-double-footer`
2323

2424
## Add the new layout to the layouts.xml file
2525

26-
Add the newly created page layout to the `layouts.xml` file of the theme directory `app/design/frontend/<VendorName>/<ThemeName>/Magento_Theme/layouts.xml`.
26+
Add the newly created page layout to the `layouts.xml` file of the theme directory: `app/design/frontend/<VendorName>/<ThemeName>/Magento_Theme/layouts.xml`.
2727

2828
```xml
2929
<?xml version="1.0" encoding="UTF-8"?>
30-
3130
<page_layouts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/PageLayout/etc/layouts.xsd">
3231
<layout id="3-columns-double-footer">
3332
<label translate="true">3 Columns Double Footer</label>
3433
</layout>
3534
</page_layouts>
3635
```
36+
37+
Clean the cache by going to **System** > **Cache Management** > **Flush Magento Cache** or by entering the following command:
38+
39+
```bash
40+
bin/magento cache:clean
41+
```
42+
43+
## Result
44+
45+
The new page layout displays in all `Layout` dropdowns.
46+
47+
![Custom page layout]({{ site.baseurl }}/common/images/fdg/custom_layout_admin_backend.png)
Loading
-6.46 KB
Loading
-24.1 KB
Loading

0 commit comments

Comments
 (0)