Shopify themes, liquid, logos, and UX
Hello, I would like to center the collection page title on the dawn 2.0 theme and reduce the padding above and below the text, so the distance between the header, product title and product images are smaller. I won't send the link to my store.... the solution should be generic for dawn 2.0. Thanks.
Solved! Go to the solution
This is an accepted solution.
You can simply use this CSS code to achieve that:
.collection-hero__title {
margin: 3rem 0 0;
text-align: center;
}
You can increase/decrease the 3rem to the number you want to adjust the space above the title
This is an accepted solution.
You can simply use this CSS code to achieve that:
.collection-hero__title {
margin: 3rem 0 0;
text-align: center;
}
You can increase/decrease the 3rem to the number you want to adjust the space above the title
where do i add this code?
Ok sorry for not mentioning it. You can add the CSS code in Dawn theme by following these steps:
1. From your Shopify Admin, go to Online Store > Theme
2. Click on the Actions button > choose Edit Code
3. Open the folder Assets > choose the file base.css
4. Paste the code at the bottom of the file like this
awesome, thank you. Is it hard to change the font and colour of it ?
This worked great, thanks!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025