How can I align the page title to the center in the Dawn theme?

Hi, how is it possible to center the page title? It’s always in the middle of nowhere. I really don’t understand why shopify is not developing these standard features…

Would be great if somebody could tell me, where to change the alignment in the css (dawn theme).

URL Link (draft mode)

https://coekrbjmekxx5bnp-28988211275.shopifypreview.com

1 Like

@Picknick

please Go to Online Store->Theme->Edit code then go to assets/section-main-page.css ->paste below code at the bottom of the file.

.main-page-title { text-align: center !important;}

Thanks!

8 Likes

Thanks a lot! It would be the same code for collection pages?

1 Like

@Picknick

yes please try this code

.section-header__title {text-align: center;}
2 Likes

@KetanKumar I just got problem, thank you! But my collection description is not centered. Where can i find this?

Solved the problem. The box was just 66% width for the collection description. Changed it to 100% in collection-hero.css

1 Like

@Picknick

thanks for update

this is not working for my collection pages. where do i put this?

@Ayesha4

Please share your shop URL!

Thanks!

That’s for the pages that we create? And it’s the same for sense theme?

1 Like

@Username14

can you please share your store url so i will check and let you know