How to Make Collection List and Feature Collection Heading Align in Center of Page with Trade Theme

Solved

How to Make Collection List and Feature Collection Heading Align in Center of Page with Trade Theme

jordanbford1
Explorer
85 0 19

Hi!

 

How can I make the collection list/feature collections on my home page have their header text be centered to the page instead of left in Trade Theme on both desktop and mobile?

 

I would like the "Save up to 60%" to be in the center. Here is my website.

Screenshot 2024-12-26 at 15.48.51.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10202 2422 3068

This is an accepted solution.

Hi @jordanbford1 

Not including the feature collection? 

If not try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.collection-list-wrapper .title-wrapper-with-link {
    justify-content: center !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1735250635296.pngMade4uoRibe_1-1735250644963.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
10202 2422 3068

This is an accepted solution.

Hi @jordanbford1 

Not including the feature collection? 

If not try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.collection-list-wrapper .title-wrapper-with-link {
    justify-content: center !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1735250635296.pngMade4uoRibe_1-1735250644963.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
jordanbford1
Explorer
85 0 19

@Made4uo-Ribe I have a collection lists and featured collections that both need this

Made4uo-Ribe
Shopify Partner
10202 2422 3068

Yes, you can add this code. Same instruction. Be sure the very last curly bracket. }

 

 

h2.inline-richtext {
    text-align: center;
}

 

 

And Save. 

Result:

Made4uoRibe_0-1735251074500.png

 

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
jordanbford1
Explorer
85 0 19

@Made4uo-Ribe Does "Related Products" use this same code? (Thinking on my product page)

Made4uo-Ribe
Shopify Partner
10202 2422 3068

I change the code so it will also work. Please, check it and let me know. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.