(if you’re going to ask for my store URL, please don’t bother submitting an answer)
I am using the Dawn theme.
On all of my Collection pages, I want the title/heading at the top of the page to be center-justified, NOT left-justified.
On all of my product pages, I want the product name / heading to REMAIN left-justified, NOT centered.
How can I do this? Do I edit the code?
Thanks!
You will need to put in below code to the last line of your under your base.css
by going to your store admin > Online Store > Themes > Actions > Edit code > Assets folder.
https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/edit-theme-code
h1.collection-hero__title {text-align: center;}
that worked to center the title on the collection pages. Is there a way to do it on the page which shows all of my collections?
You can add this one but this will make all the other titles (contact, about us etc) centred too.
I will have to access your store to make this specific change to your collection list.
.shopify-section h1.title.title–primary {text-align: center;}