How can I center the page heading on the Dawn theme?

Could you please send me the code to center my page heading please! I have already tried these codes:

.title-wrapper-with-link {
align-items: center;
text-align: center !important;
display: block !important;

.main-page-title , .collection .title-wrapper-with-link {
text-align: center;
justify-content: center;

}
.heading, title-wrapper-with-link {
text-align: center;
justify-content: center;
}.main-page-title {
text-align: center;
}
.collection-hero__title, .product__title {text-align: center;}

1 Like

@made4keeps19

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Hi,

Please share your store URL and if your store is password protected then also provide password too.

Thank you.

Hi @made4keeps19 ,

Please send your site and if your site is password protected, please send me the password. I will check it.

Yeah sure its Handmade Personalised Gifts – made4keeps19

Handmade Personalised Gifts – made4keeps19

1 Like

@made4keeps19

thanks for url can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css ->paste below code at the bottom of the file.
.main-page-title, .collection__title {
    text-align: center;
}

Just tried it didn’t work still the same.

Hi @made4keeps19 ,

You just need to add the code here, it will work fine.

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.

Tried it with the added bracket and it still showing the same and thats with closing the tab and opening a new one

Hi @made4keeps19 ,

There is still a place where the code is not closed properly, you can add the code } here: