How can I hide headers, announcement bars and footers on specific landing pages?

I want to create pages - landingpages with no header, announcement bar and footer.

Ive been reading through different solutions in here and tried them out, but none of them did the job.

We’re on a Prestige theme ver. 7.0 and this is the url we want header, announcement-bar and footer hidden:

https://den7himmel.dk/pages/gratis-sengeradgivning-er-helt-uforpligtende

Ive also tried “if. template.name” referencing it a template level - but it hides headergroup etc on all pages?

{% if page.handle == 'gratis-sengeradgivning-er-helt-uforpligtende' %}

{% endif %}

Anyone?

Best regards

Steen

Hey @zyntese

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% if page.handle == "gratis-sengeradgivning-er-helt-uforpligtende" %}

{% endif %}

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed