HOHWIP Posted August 11, 2020 Share Posted August 11, 2020 Hi @tuanphan! I have a question for you regarding customizing the shop page functionality. 1. I am working on a shop 2. I would like to customize the standard page so each product grouping has a headline, versus the standard shop layout in 7.1 (where it is one giant feed of products) 3. On the product detail pages, I would like the SHOP ALL in the nav to be underlined. 4. Is there a way to hide the default shopping section shown on the bottom of this page? 5. I used the below code in the header, which hides the section, but then also hides the product detail pages from functioning. <style> section[data-section-id="5f3313ad14f683319469cc74"] { display:none!important } </style> 6. Do you know how to solve for this? Thanks so much for your help! Best, NK Link to comment
tuanphan Posted August 12, 2020 Share Posted August 12, 2020 1,2,3. Did you solve? 4. Add to Shop page settings > Advanced > header <style> #page section:last-child { display: none; } </style> 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
HOHWIP Posted August 13, 2020 Author Share Posted August 13, 2020 HI @tuanphan, thanks for the quick reply and help! 1. I inserted your code. It hides the last-child (the default shop section/layout) 2. But now, for some reason, when I click the individual product to go to the product detail page, the product detail pages appears blank. Screen shot below. This happened when I also tried my section ID code above. 3. Any other thoughts? I want the "shop all" in nav to be underlined, to show the product is within this directory.. but need to hide the default shop layout that squarespace generates.. Does this make sense? Thanks again for all of your help! Nicholas Link to comment
HOHWIP Posted August 15, 2020 Author Share Posted August 15, 2020 Thanks @tuanphan for the below code! It worked perfectly! X NK <style> .view-list #page section:last-child { display: none; } </style> Link to comment
JMSB Posted February 20, 2021 Share Posted February 20, 2021 On 8/11/2020 at 6:54 PM, HOHWIP said: 2. I would like to customize the standard page so each product grouping has a headline, versus the standard shop layout in 7.1 (where it is one giant feed of products) How did you do this? With custom code? Link to comment
tuanphan Posted February 22, 2021 Share Posted February 22, 2021 On 2/20/2021 at 11:43 PM, JMSB said: How did you do this? With custom code? Have you found the solution yet? 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
HOHWIP Posted February 24, 2021 Author Share Posted February 24, 2021 @tuanphan Resolved for me. Thank you for your help! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.