A user migrating to Shopify’s Enterprise theme is struggling with excessive padding around the collection title banner, creating large gaps between the menu, title, and product grid. They attempted to modify main.css and main.collection-banner.liquid files without success.
Solution provided:
Add custom CSS to main.css file to reduce top/bottom margins on the collection banner:
.cc-collection-banner.section--template with adjusted margin values
.cc-collection-products.section--template to reduce gap after collection description
Outcome:
The CSS modifications successfully resolved the padding issues, creating the more compact design the user wanted. The discussion is resolved with the user expressing gratitude for the help.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
I am moving our website to the Enterprise theme but the collection page is driving me nuts!
The Collection Title Banner is so big and creates so much gap above and below it. As you can see below the big gap between the menu and the title and then between the collection description to the top of the products.
I’ve tried messing about in the main.css and the main.collection-banner.liquid files but to no help.
Can anyone help me reduce this? I really want to get to a much more compact design so that the products are more visible. The new template for the site is not published at the moment as it is not finished and so can’t share a live link.
I can’t send a link at the moment as it is in Preview mode. I have another template running my website and we have a lot of customers online so I can’t publish this one