I am trying to center my collection titles for my pages. I have tried different codes I saw but none of them are working.
Topic summary
A user is attempting to center collection titles on their Shopify store pages but previous CSS solutions haven’t worked.
Solution Provided:
- Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
- Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
- Add the following CSS code at the bottom:
h1.collection-hero__title {
text-align: center;
}
Additional Request:
The user also asked for help repositioning a “Shop Now” button on their homepage image banner to sit lower, below the text. A CSS solution was provided targeting the banner content class with padding adjustments.
Status: Both issues appear resolved, with the user expressing appreciation for the assistance.
Try this one. If its not working, would you mind to share your URL store website? with password if its protected. Thanks!
- 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:
h1.collection-hero__title {
text-align: center;
}
- And Save.
- Result:
I hope it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
While I’m here can you help me lower my shop now button on my image banner on my home page? I want to lower it above the text.
My site is heavenlypraises.co
Password: Pioneer1
Yeah sure, Try this one.
Same Instruction.
.banner__content.banner__content--middle-center.page-width.scroll-trigger.animate--slide-in {
align-items: flex-end;
padding-bottom: 35%;
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Appreciate it ![]()

