A user seeks to eliminate the vertical spacing between product titles and prices on their product cards in the Dawn theme. They provided screenshots showing the current gap and their desired result with no spacing.
Initial Solution Attempt:
Another user suggested adding custom CSS to the base.css file targeting .card__information, .card__heading, and .price classes
This approach involved setting margins and padding to zero and using flexbox properties
The original poster reported this solution did not work
Alternative Solution:
A third user provided a simpler CSS snippet: .card-information > .price { margin-top: 0px !important; }
This code should be added via the theme customizer (Online store > Themes > Customize > Theme settings > Custom CSS) rather than directly editing theme files
A screenshot was included showing the expected result
Status: The discussion remains open as the original poster has not confirmed whether the second solution resolved the issue.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
To remove the small gap between the product title and the product price on your product cards in the Dawn theme, you can add some custom CSS. Here’s how to do it:
Follow these Steps:
Online Store
Themes
Edit code
Open the file base.css (found under Assets) or theme.css if you’re editing the code directly.
Add the following CSS:
.card__information {
display: flex;
flex-direction: column; /* Ensure elements stack vertically */
gap: 0; /* Remove any gap between title and price */
}
.card__heading {
margin-bottom: 0; /* Remove space below the title */
}
.card-information .price {
margin-top: 0; /* Remove space above the price */
padding-top: 0; /* Remove any additional padding */
}
.price__container {
margin: 0; /* Ensure no margin inside the price container */
}
After saving, reload your website to see the changes. The product title and price should now be directly adjacent to each other without a gap.
Let me know how it looks!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!