How can I hide the header and footer on a specific Shopify page?

i need to create this page on shopify but i want to hide header and footer from this page only

https://aegenda.com/pages/lmsl-and-aegenda

where is should add this code ?

Hi @maamoun24

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag → save.

{% if page.url == ‘/pages/lmsl-and-aegenda’ %}

div#shopify-section-foote, header#SiteHeader { display: none !important;; }

{% endif %}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Thanks alot, it’s working

can i ask if also i want to hide the announcement bar, what i should add ?

{% if page.url == ‘/pages/lmsl-and-aegenda’ %}

div#shopify-section-foote, header#SiteHeader { display: none !important;; } .flickity-viewport { display: none; }

{% endif %}

You can try with a new code.

@maamoun24 I am so happy to help you out.

I enjoyed visiting your store and really liked your products. I have some suggestions for improving your conversion rates, based on my experience in CRO here by:

1/ Highlight announcement bar

Announcement bars are a great way to convey important information or updates to visitors. By highlighting the announcement bar, you ensure that it stands out and is easily noticed by your customers.

2/ Adjust content on the hero banner

Consider adding a brief paragraph to the hero banner on your website. Emphasize presenting your product and its main style clearly and succinctly.

3/ Establish trust and engage customers by adding these elements to your homepage:

Trust Badges: Show icons like secure payment symbols or official certifications to assure customers that your shop is safe and trustworthy. This really matters in clothing sales, where buyers worry about product quality and safe payments.

Add social media to your store to strengthen your connection with customers, improve brand recognition, and boost your chances of making more sales. Like this:

4/ Start a Christmas promotion to take advantage of the holiday shopping surge

Try these strategies:

  • Market your products as ideal Christmas presents.
  • Add a countdown timer to create urgency and encourage fast purchases. Check out this example from our free template:

I hope that my recommendations will be useful and insightful for you. And… Merry Christmas!!