Hi,
I would like to remove the header and footer section from a page in my Broadcast 2.0 theme to create a landing page with navigation removed. I am having trouble with the code in doing this. Any help would be appreciated. Thank you.
Hi,
I would like to remove the header and footer section from a page in my Broadcast 2.0 theme to create a landing page with navigation removed. I am having trouble with the code in doing this. Any help would be appreciated. Thank you.
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
thanks for url can you please try this code
#dealer-support #shopify-section-header, #dealer-support #shopify-section-footer {
display: none;
}
Hi KetanKumar,
I keep receiving the following error no matter what code I put in:
just add css code no more please check your section code also show me error
sorry but your have add code wrong file please add this file code please check above my code and guide line
I got it! Thank you so much!
its my pleasure to help us
Display none is not a very good way of removing the header and footer. A better approach would be to create a custom layout template in the theme and remove those sections from the template and then update the layout in the page template JSON schema (https://shopify.dev/themes/architecture/templates/json-templates).
Where is the below code? I have tried adding
#dealer-support #shopify-section-header, #dealer-support #shopify-section-footer {
display: none;
}
to theme.css with no results.