Guest User

Untitled

a guest
Jan 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
  3. <update handle="empty"/>
  4. <referenceContainer name="page.wrapper">
  5.  
  6. <container name="my-custom-wrapper" htmlClass="my-custom-wrapper" htmlTag="div">
  7.  
  8. <container name="header.container" as="header_container" label="Page Header Container" htmlTag="header" htmlClass="page-header" before="main.content"/>
  9. <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
  10. <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
  11.  
  12. </container>
  13.  
  14. </referenceContainer>
  15. </layout>
  16.  
  17. <div class="page-wrapper">
  18. <div class="my-custom-wrapper">
  19. ... all other containers ....
  20. </div>
  21. </div>
  22.  
  23. <referenceContainer name="content">
  24. <container name="container-name" htmlTag="div" htmlClass="container-class">
  25. </container>
  26. </referenceContainer>
Add Comment
Please, Sign In to add comment