I want to just show the customer table on page and need to remove header footer and left bar as well.How i can achieve it.enter image description here


You can remove from XML. You have to put this inside body tag. You can put this inside default.xml or any other XML which you want.

Remove left sidebar:-

<referenceBlock name="sidebar.main" remove="true" />

Remove Header:-

<referenceBlock name="header.container" remove="true" />

Remove Footer:-

<referenceBlock name="footer" remove="true" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.