How can I center headings on all sections of my website?

Topic summary

A user seeks to center headings across multiple sections of their website, including:

  • Multi columns
  • Videos
  • Featured Products
  • Featured Collection

Solution provided:
A community member offered CSS code to be added to the theme’s stylesheet (base.css, style.css, or theme.css):

.collection__title.title-wrapper.title-wrapper--no-top-margin {
  text-align: center;
}
.title-wrapper.title-wrapper--no-top-margin.scroll-trigger.animate--slide-in {
  text-align: center;
}

Implementation steps:

  1. Navigate to Shopify admin → Online Store → Themes
  2. Click Actions → Edit code
  3. Open the appropriate CSS file in the Assets folder
  4. Add the provided code at the bottom
  5. Save changes

Another contributor suggested using Beae Landing Page Builder as an alternative approach, offering to provide custom markup code.

Status: The original poster confirmed the CSS solution worked and expressed gratitude, mentioning they have additional related questions pending.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

I would like to center the headings of the following sections everywhere on the website.
Multi columns
Videos
Featured Products
Collections
Featured Collection

Website: https://serenity-kits.com/products/serenity-kit

1 Like

Hi @TonyG54

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.title-wrapper-with-link.title-wrapper--self-padded-mobile.title-wrapper--no-top-margin {
    justify-content: center;
}
.title-wrapper.title-wrapper--no-top-margin.scroll-trigger.animate--slide-in {
    text-align: center;
}
.collection__title.title-wrapper.title-wrapper--no-top-margin.page-width {
    text-align: center;
}

I hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi @TonyG54 ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

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

Best regards,

Anthony

Thank you very much! I’ve recently posted a few other questions, if you’d be able to help with those as well it would be much appreciated.