Main issue: Excessive white space appears under the collection title in a Shopify store using the Crave theme; the user wants bottom spacing to match the smaller top spacing. A screenshot was provided to illustrate the gap.
A CSS fix was suggested, added to assets/base.css within a mobile-only media query (max-width: 749px):
• Reduce margins on .collection-hero__title
• Set the product grid section’s top margin to 0
Result: The fix worked on mobile, reducing the lower gap; it also slightly reduced top spacing, which the user accepts and can adjust.
Current status and open question:
On desktop, the title is not centered (centering appears only on mobile). The user asks how to apply the styling for both mobile and desktop.
The provided CSS targets only mobile screens (via the media query), so desktop behavior remains unchanged.
Outcome: Partial resolution. Mobile spacing fixed; desktop centering and consistent spacing across devices remain unresolved pending additional CSS for larger breakpoints or global rules.
Summarized with AI on February 22.
AI used: gpt-5.
How can I remove this unnecessary white space under the collection title? As you can see, there is a small space above the title but a large one under. I would like to have the same amount of space on the bottom that there is on the top. I am using the Crave theme and the only solutions I have found so far are under things like theme.scss.liquid, timber.scss.liquid, etc. Thank you in advance!
Wow! I put it in and it worked! It did made the top part slightly smaller though. No problem however, as now I can change the spacing thanks to the code you gave me. Thank you so much!