I have an HTML page that I have created with no header or footer and want a way to add it full page width and full webpage length (no scrollbar) inside a page of my store. basically
SHOPIFY HEADER
SHOPIFY FOOTER
A user wants to embed a custom HTML page between their Shopify store’s header and footer at full width and height without scrollbars.
Solutions provided:
CSS approach: Use viewport units (height: 100vh; width: 100vw;) on the HTML wrapper class to achieve full-page dimensions.
Shopify Pages method:
<> buttonBoth responses offer practical implementation methods, though the discussion remains open regarding which approach the original poster will adopt or if either fully addresses the no-scrollbar requirement.
I have an HTML page that I have created with no header or footer and want a way to add it full page width and full webpage length (no scrollbar) inside a page of my store. basically
SHOPIFY HEADER
SHOPIFY FOOTER
You can do that by using this code
your-html-wrapper-class {
height: 100vh;
width: 100vw;
}
Hi @TaskerandShaw ,
I am from Mageplaza - Shopify solution expert.
Please follow these steps to achieve the desired result.
Go to Shopify Admin > Online Store > Pages
Click “Add Page”
Name your page
Click the <> (HTML mode) button in the editor
5 Paste your HTML code inside the editor
Your HTML is now embedded inside a Shopify page!
Please let me know if it works as expected!
Best regards!