Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    magento-marketplace-mod

    How to create custom layout page in magento2

    How to create custom layout page in  Magento2 :- Here, I am going to learn that how to create custom layout page in magento2. We already know that Magento provide following layout as default :-

    -Empty

    -1 column

    -2 columns with left bar

    -2 columns with right bar

    -3 columns

    Sometime we need some customisation in our Magento design and want to change design of Home page or any specific page.There are some points which help you to create own layout page.We considered that we already create module necessary files like(registartion.php,composer.json,module.xml etc.)

    There are two files needed to create custom layout page

    1 –   Create Namespace/Module/view/frontend/layouts.xml this file registered custom layout


    After creating above file you can check your test layout in admin panel.

    2- Create Namespace/Module/view/frontend/page_layout/test.xml this file to manage design your layout page.


    Now this is complete to use as custom layout.You can check this layout in admin panel configuration setting.

     

     

    Thank’s for read this.If you have any query please comment below.

    . . .

    Comments (2)

    Add Your Comment

  • Shubham Sharma
    @sagar kunjadiya you can check here to create basic magento2 module structure. You need to create only registration.php & module.xml for register your new module
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close