buriedantenna Posted May 25, 2020 Share Posted May 25, 2020 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. Link to comment
tuanphan Posted May 25, 2020 Share Posted May 25, 2020 Add to Home > Design > Custom CSS .collection-type-products .page-header { display: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
paul2009 Posted May 25, 2020 Share Posted May 25, 2020 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. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
buriedantenna Posted May 25, 2020 Author Share Posted May 25, 2020 Thank you so much, Paul and Tuanphan. It worked great. That's a massive help guys! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.