All things Shopify and commerce
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
Solved! Go to the solution
This is an accepted solution.
The banner is design for whole width. Would you mind to share your store URL? Thanks!
This is an accepted solution.
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!
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024