Jump to content

Removing header image from product pages

Recommended Posts

Site URL: https://www.buriedantenna.com

I have a store page as my homepage and a large promotional image in the header. I need this image to only appear on the homepage where all products are displayed. I DON'T want the image to appear at the top of each individual product page though (WHY WOULD I????) how I can I stop it displaying on those pages? I emailed Squarespace and got a lazy reply basically saying, 'that's just how it is'. I would be very grateful if someone here could prove them wrong.

Capture 1.JPG

Capture 2.JPG

Link to comment
  • Replies 3
  • Created
  • Last Reply
1 hour ago, buriedantenna said:

I DON'T want the image to appear at the top of each individual product page though (WHY WOULD I????) how I can I stop it displaying on those pages?

This is the way that the Avenue template works and there isn't a built-in style setting to prevent this happening. It can be achieved with some custom code, but Squarespace don't have the resources to provide help with code.

If you go to Design > Custom CSS and add the code below, it will remove the header when you viewing an individual product, but it will appear on the products list page.

.view-item.collection-type-products .extra-wrapper.page-header {
  display: none;
}

For the benefit of others who read this post:

  • This snippet is for Squarespace 7.0 only, tested on the Avenue template in the author's question.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.