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
  • Views 1.1k
  • 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 me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.