Center Collection Product Grid Text

Topic summary

A Pipeline theme user seeks to center the product grid text on collection pages. Multiple solutions are provided:

Main Solutions Offered:

  • Add CSS code to theme.liquid file above the </body> tag
  • Modify main.css (or base.css, style.css) in the Assets folder
  • Insert CSS snippet: .collection-list__heading__text { justify-content: center; }

All respondents provide similar CSS-based approaches with step-by-step instructions and include screenshots showing the centered result.

Current Status:
The discussion remains open - the original poster follows up asking how to apply the centering to mobile views as well, indicating the desktop solution worked but mobile alignment still needs addressing. No mobile-specific solution has been provided yet.

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

How can I center the collection product grid text? I’m using pipeline.

1 Like

Hey @Mg71

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Mg71

Do you mean the heading collection?

if it is check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.
.collection-list__heading__text {
    justify-content: center;
}

Hi @Mg71 ,

You can follow these steps to center the collection product grid text

  1. Open Online Store > Theme > Edit Code

  2. Find and open the theme.css (or base.css, custom.css, styles.css) file

  3. Paste the code snippet below at the bottom of the file and hit save

.collection-list__heading__text {
  justify-content: center;
}

Here is the result:

Hope this helps you solve the issue.

Please don’t forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank you!

How do I center it on mobile also?