Hi, I would like to align the collection list title that’s on my main page to the center. I’m currently using the dawn theme. I appreciate the help!
1 Like
Hi @Dat999
Would you mind to share your store URL website? with password if its protected. Thanks!
Hi! Can you share your store’s URL and enter password please?
Hi @Dat999
Thank you for reaching out to the shopify community.
You can try the below code given in your base.css file.
.collection__title .title{
text-align: center;
}
Thanks
1 Like
Thank you for the information. Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
- And Save.
.title-wrapper-with-link.title-wrapper--self-padded-tablet-down.title-wrapper--no-top-margin {
justify-content: center;
}
Result:
I hope it help.
3 Likes
It didn’t change anything unfortunately.
Hi @Dat999
Just find the element in base.css file and add justify content property.
@media screen and (min-width: 990px)
.title-wrapper-with-link {
align-items: center;
justify-content: center;
}
Try this:
.collection-list-title {
margin: auto;
}
That did it! Thanks!
Good to hear! Youre welcome.
Thank you, I was able to use this code to adjust my title as well. ![]()
1 Like
Good to hear that, it works also in your store.

