How to centre Page heading

hennrylam
Tourist
12 0 2

hennrylam_0-1634586030890.png

Please refer to image -  I have a page called "workouts" and the tital is on the left, how to centre?

Thank you

Replies 4 (4)
Guleria
Shopify Partner
1913 408 585

Hello @hennrylam ,

Pick the element id/class and assign it css text-align: center

e.g. let's say my element 'class' is heading then my css will be
.heading{ text-align: center; }

Thanks

Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
Buy me a coffee ☕ My PayPal
Natztech
Shopify Partner
2238 565 1387

hello @hennrylam 

Please provide the website URL and if your store is password protected then also provide a password So I will check and provide a solution here.

Want to theme customize contact us E-mail : natztech2312@gmail.com | Whatsapp
Zworthkey
Shopify Partner
3543 416 807

@hennrylam

 

h1.small--text-center {
    text-align: center !important;
}

 

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
or kindly add this code to theme.scss 
Thank you.

If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme ,
Hire us | Whatsapp. & Want to know more .Email us: sales@zworthkey.com

PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Designing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Natztech
Shopify Partner
2238 565 1387

hello @hennrylam 

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

.template-page h1 {
    text-align: center !important;
}

 

Want to theme customize contact us E-mail : natztech2312@gmail.com | Whatsapp