DEBUT THEME: Remove Collection name from product or collection pages

shopten26
Tourist
7 0 1

Hi, does anyone know how to remove this where it says "heels & wedges" and the background from the header in my collection pages?Screen Shot 2021-07-18 at 11.53.21 AM.png

0 Likes

I think I answered this in your other post, but you can do this...

To remove the collection image, you can go to your theme customiser, click Collections > Default Collection in the dropdown at the top, select Collection Pages on the left, then uncheck 'Show collection image' on the right.

To remove the whole section entirely, you can add the following CSS:

 

.template-collection .section-header {
    display: none;
}

.template-collection .main-content {
    padding-top: 0;
}

 

Laura | UK Shopify Partner & Theme Developer at Fizzy Pixel

- Was my reply helpful? Please Like and Accept as Solution.

- Looking for more help? Email me at laura@fizzypixel.co.uk or visit our website.

0 Likes
Amarjyoti
Tourist
20 7 12

Hey @shopten26,

Please follow the below steps to remove that section.

Step 1:
Navigate to Online Store > Themes > Click on Actions dropdown > Click on Edit Code > Open collection-template.liquid under sections

Step 2:
Comment the highlighted code (See line number 27 & 74 on the screenshot for comment syntax) on the screenshot and click on Save

Screenshot 2021-07-18 at 10.02.58 PM.png

Please let me know if it works for you.

Thanks!!

Amarjyoti | I'm here to help and share some insights. Not looking for work.
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
0 Likes