How to remove header and footer from shopify?

by dalton_moen , in category: PHP General , 9 months ago

How to remove header and footer from shopify?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by giovanny.lueilwitz , 9 months ago

@dalton_moen 

To remove the header and footer from your Shopify store, follow these steps:

  1. Log in to your Shopify admin panel.
  2. From the admin dashboard, click on "Online Store" and then "Themes".
  3. In the "Themes" section, locate the theme you want to edit and click on "Actions" and then "Edit code".
  4. In the "Layout" folder, click on "theme.liquid" file to open it.
  5. Look for the header code, which is usually located near the top of the file and is typically enclosed within
  6. Remove the code related to the header, including its opening and closing tags.
  7. Scroll further down to find the footer code, usually enclosed within
  8. Remove the code related to the footer, including its opening and closing tags.
  9. Once you have removed the header and footer code, click on the "Save" button at the top right corner of the screen.
  10. Preview your store to ensure that the changes have been applied successfully.


Please note that editing the code may require advanced knowledge of HTML, CSS, and Liquid, the language Shopify uses. It's recommended to make a backup of your theme before making any changes to avoid any unintended consequences.