How to center the titles on my home page?

How to center the titles of different sections from the templates on the main page?

www.SmartHomeOneStopShop.com

Hello @Nozuu ,

To center your section headings follow:

  • Admin dashboard > Themes > Customize > Click on the Section > Custom CSS
  • Into the Custom CSS field of collection section, copy:
.title-wrapper-with-link {
  justify-content: center;
  text-align: center;
}

I hope it helps and good luck! Feel free to reach out if you need any further assistance.
Best regards,
Eray Barslan | Shopify Developer & Designer

1 Like

Hi @Nozuu ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea for solution:

Step 1. Go to Online Store → Theme → Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before :


Hope my answer will help you.

Best regards,

Victor | PageFly

1 Like

Hello @Nozuu

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

.title-wrapper-with-link.title-wrapper--self-padded-mobile.title-wrapper--no-top-margin {
    justify-content: center;
}
1 Like