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
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.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.