How can I center my page titles in Sense theme?

What code should I add to center the titles of my pages in Sense theme?

Right now the title of all my pages is aligned to the left, I’d like to center it in a couple of pages (how to use and make a bundle pages) is it possible?

my website: https://gellednails.com

password: 123456

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >Base.css and paste this at the bottom of the file:
h1.main-page-title.page-title.h0 {
text-align: center;
}

Hi @ZestardTech thanks for the fast answer! It worked perfectly :slightly_smiling_face:

Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.

Hii @gadea_1

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

Go to Online Store->Theme->Edit code
Asset->/theme.css ->paste below code at the bottom of the file.

.collection-hero__title {
text-align: center!important;

}
this will make your all collection titles at the center of the page.

Kindly Like and Accept this as a solution if this post is helpful.

Hi there, how did you center your logo with this theme? Can’t find it anywhere.

I was looking for a way to do this and it worked - thank you! I have another issue though:

I am also looking to centre the collection description. I have centred the description in the area where you edit the description, however in the Sense theme it allows you to include the collection image in this banner too (which I don’t want so I have not included this) but when I centre the text, it’s still not centred as it’s showing the blank area where the image would have been as per the image below:

Can anyone help please? :slightly_smiling_face: