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
1798 380 543

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
2230 564 1363

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.

Zworthkey
Shopify Partner
2535 300 634

@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. and we also help you to guide how to reach to your potential customers to increase brand presence, engagements and sales for your business or Want to know more. Read our Shopify Blogs.Email us: sales@zworthkey.com
Natztech
Shopify Partner
2230 564 1363

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;
}