Hello. When I added a collection banner to my page it doesn’t center it sits to the left. I don’t have an option to center it. I am currently using dawn theme and I would like to center it to the page
The banner is design for whole width. Would you mind to share your store URL? Thanks!
Hi of course
Thanks for the info, im a bit confuse which banner you mean? Mostly banner is an image. Do you mean this one.?
If you like to center this one. Check this.
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;
}
.collection-hero__description.rte {
margin: auto
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
