How to centre title and change size

Hi, I’m wondering how I can centre the title and change the size on my contact page?

Thank you!

1 Like

Hello @smander ,

Follow the @Freddie43 instructions

btw if you can’t find the option to manage it through settings then please follow:

Follow these steps:

  1. Go to Online Store → Theme → Edit code

  2. Open your base.css file and paste the following code at the bottom:

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

Thanks

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the tag


Result:

You can change the value of the font-size to meet your need.

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

@smander ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above


Result:

If it helps you, please like and mark it as the solution.

Best Regards :blush:

Hi @smander

You can follow the steps here:

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

Here is the code for step 3:

h1.main-page-title.page-title.h0 {
    text-align: center !important;
    font-size: 50px !important;
}

Here is the reuslt:

Let me know if it works!

Best,

Daisy