Video Lesson: Page layouts and containers in Magento

Page layouts and containers in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Page layouts and containers in Magento

Learn Magento page layouts and containers with XML including empty xml 1column 2columns and custom page layout creation.

Lesson Content

Let’s find out how pages are built in Magento with XML. Let’s go to the vendor/magento/module-theme directory, which is the Magento_Theme module.

All layout XML is located in in the view directory, and then in one of either basedefault or adminhtml, depending on which area of Magento is being modified. The base directory affects all layouts, so let’s go into that directory. Next, we’ll go into the page_layout directory and you’ll notice a sole empty.xml file.

vendor/magento/module-theme/view/base/page_layout/empty.xml

This is the file that all layouts in Magento us...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.