How to center page titles?

Picknick
Excursionist
22 0 4

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).

Picknick_0-1635407547446.png

 

URL Link (draft mode)

https://coekrbjmekxx5bnp-28988211275.shopifypreview.com

Replies 6 (6)
dmwwebartisan
Shopify Partner
9770 2228 3065

@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!

 

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
Picknick
Excursionist
22 0 4

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

KetanKumar
Shopify Partner
24918 2497 9034

@Picknick 

yes please try this code

.section-header__title {text-align: center;}
If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Picknick
Excursionist
22 0 4

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

Picknick_0-1635589775882.png

 

Picknick
Excursionist
22 0 4

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

Picknick_0-1635590382904.png

 

 

KetanKumar
Shopify Partner
24918 2497 9034

@Picknick 

thanks for update

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing