How to change Magento contacts page into a 1 column layout
How to change Magento contacts page into a 1 column layout
To change the Magento contacts page into a 1-column layout, you need to modify the page’s layout XML file. First, navigate to your theme’s directory, typically located in app/design/frontend/{Vendor}/{Theme}/layout/
. Find or create the contacts.xml
file if it doesn’t already exist. Within the XML file, you’ll want to update the layout by changing the <referenceContainer name="content">
to use a 1-column structure. You can do this by adding the following code:
Leave a Reply
Want to join the discussion?Feel free to contribute!