Skip to content

How to change the product detail page to a 2 column layout in Magento 2.3?

I have created a layout XML file for a custom theme which inherits from the default Magento Blank theme:

app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_product_view.xml

and set the layout to 2columns-left:

<?xml version="1.0"?>
<page layout="2columns-left" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
</page>

Also the setting under: “Stores > Configuration > General > Web > Default Layout” doesn’t seem to have any effect.

Magento version: 2.3.2 CE