CMS Development

TKozik
Member

Hide global header & footer on landing page

SOLVE

Hello community, 

 

i have been looking for a way to make the global header and footer not show on one specific landing page. Simply removing all available information in the global header & footer settings is not an option as there are other sites that require these informations. 

 

I allready tried to hide the sections using css but without any success. 

 

Is there a way to to this?

 

- Tim

2 Accepted solutions
Indra
Solution
Guide | Elite Partner
Guide | Elite Partner

Hide global header & footer on landing page

SOLVE

Hi @TKozik,

 

Best option you can do is clone your used template and remove the header and footer from it

clone-template.jpg

 

Then switch your page from template following these steps:
"Settings" tab -> "Advanced options" -> "Templates"

 

Did this help?


Indra Pinsel - Front-end developer - Bright Digital
Did my answer solve your issue? Help the community by marking it as the solution.


View solution in original post

BarryGrennan
Solution
Guide

Hide global header & footer on landing page

SOLVE

Hi Tim, 

 

If it's only for one specific landing page, the quick and dirty solution is adding css in style tags to the header of the page under Settings>Advanced options>Head html

 

You'd add something like:

 

<style>
header, footer {display:none;}
</style>

 

 

Although we'd obviously need to get a look at the page to know specifically what css you'd add here.

 

But @Indra's solution is best practice and would set you up with a new template without header and footer to use gonig forward.

View solution in original post

4 Replies 4
BarryGrennan
Solution
Guide

Hide global header & footer on landing page

SOLVE

Hi Tim, 

 

If it's only for one specific landing page, the quick and dirty solution is adding css in style tags to the header of the page under Settings>Advanced options>Head html

 

You'd add something like:

 

<style>
header, footer {display:none;}
</style>

 

 

Although we'd obviously need to get a look at the page to know specifically what css you'd add here.

 

But @Indra's solution is best practice and would set you up with a new template without header and footer to use gonig forward.

Yenniffer
Participant

Hide global header & footer on landing page

SOLVE

Thanks, it worked for me.

0 Upvotes
Indra
Solution
Guide | Elite Partner
Guide | Elite Partner

Hide global header & footer on landing page

SOLVE

Hi @TKozik,

 

Best option you can do is clone your used template and remove the header and footer from it

clone-template.jpg

 

Then switch your page from template following these steps:
"Settings" tab -> "Advanced options" -> "Templates"

 

Did this help?


Indra Pinsel - Front-end developer - Bright Digital
Did my answer solve your issue? Help the community by marking it as the solution.


Teun
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Hide global header & footer on landing page

SOLVE

Hi @TKozik ,

 

Could you share a link to the page? And maybe a screenshot of the template?



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.