There are few steps to apply custom layout to a page. I have describe here how change page layout using xml. This is a process of
create custom page layout in magentoand Mark root page block that template is applied
Suppose i am changing template in checkout cart page:
page/2columns-left.phtml
How to apply Custom page layout handles in layout in magento shwoing here
page/2columns-left.phtml
and Mark root page block that template is applied Suppose i am changing template in checkout cart page: page/2columns-left.phtml How to apply Custom page layout handles in layout in magento shwoing here page/2columns-left.phtml
This custom layout is show also show in admin panel In generally, page template is set under
page/empty.phtml); color: var(--body_typography-color); font-family: var(--body_typography-font-family); font-size: var(--body_typography-font-size); font-style: var(--body_typography-font-style,normal); font-weight: var(--body_typography-font-weight); letter-spacing: var(--body_typography-letter-spacing);">For set temptate ,mostly using
page/empty.phtml
and Mark root page block that template is applied Suppose i am changing template in checkout cart page: page/2columns-left.phtml How to apply Custom page layout handles in layout in magento shwoing here page/2columns-left.phtml
About Author:
Kalpesh Chavada
Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.