Oteeum
January 29, 2025, 10:58am
1
Hi there,
I am using Combine 2.3.1.
I would like to remove the header and footer from all of the pages that are under the blog of ‘rsvp’ from my website. For example below:
domainname/blogs/rsvp /blogpostname
Please click the link to the live site - the password is awttag500.
I have tried numerous code injections from youtube but none of them have worked.
Thank you in advance!
@Oteeum
Take a screenshot of those pages where you want to remove the header and footer.
Oteeum
January 29, 2025, 11:20am
3
This is the top and bottom of the page with the header and footer. Hope it helps
Note: Only hided footer, check it and let me know as u you want like this?
@Oteeum
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Oteeum
January 29, 2025, 11:55am
5
Thank you, it successfully hid the footer. Could you help me hide the header and the footer- but only on the RSVP blog pages?
Note: This is for header… Paste code as per above instructions…
Mark both solutions
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Oteeum
January 29, 2025, 12:40pm
7
Thanks for your help but how do I only apply them to the RSVP blog pages? I can hide the header/footer across the whole site by just removing it but I need it on the rest of the website. I only want to hide them for certain pages as mentioned in my initial post:
domainname/blogs/rsvp/b****logpostname <hidden for all posts under RSVP
@Oteeum Remove all code as I gave you, again I’m trying
Oteeum
January 30, 2025, 12:47am
9
Thanks, if you have a solution for removing it on certain pages , I would greatly appreciate it!
1 Like
@Oteeum Sorry for the late reply, I tired my best to reslove your problem
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Oteeum
January 30, 2025, 8:37am
11
Hi @topnewyork
Thank you for trying again, unfortunately when I pasted the code in, it removed the header and footer for the whole website and not just for the blog pages. Is it possible to use some ‘if’ statements to isolate the removal just to the blog posts?