How do I center the heading and text on a page?

Hi, I’m tying to center the heading and text at the top of the page. Its not rich text its a page, if that makes any difference.

Any idea’s?

Cheers Sam

Hello @SamHolbex ,
Welcome to the Shopify community!
Share your store url with password.

@SamHolbex

Please share your store URL.

Hi @SamHolbex ,

Please follow these steps:

  • Step 1: Go to Online store > Themes > Actions > Edit code.

  • Step 2: Go to Assets > component-collection-hero.css and paste this at the bottom of the file:

.collection-hero__text-wrapper{
text-align: center;
}
@media screen and (min-width: 750px){
.collection-hero__description {
max-width: 100% !important;
}
}

Hope this helps.

If my answer can help you solve your issue. Please mark it as a solution, thank you and good luck.