Taste Theme - Centralising the title on a page ie Online Store then Pages

I’ve managed to centralise the titles on my collection pages but I can’t work out how to centralise the titles in any of the pages.

eg

https://www.opusvita.co.uk/pages/care-guide

https://www.opusvita.co.uk/pages/about-opus-vita

Please can someone advise

1 Like

Hi,

Add this css to your css file

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

Hi @opusvita

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in {
    text-align: center;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi @opusvita

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

h1.main-page-title.page-title.h0.scroll-trigger.animate–fade-in {

text-align: center;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

1 Like

Perfect thank you so much !