How can I center the collection headers?

Solved

How can I center the collection headers?

tipitea
Excursionist
15 0 11

I want to center the title circled in red? How do I do that?

center.png

Accepted Solutions (2)

Moeed
Shopify Partner
6704 1810 2194

This is an accepted solution.

Hey @tipitea 

 

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 </body> tag

<style>
h1.collection-hero__title {
    text-align: -webkit-center !important;
}
</style>

RESULT:

Moeed_0-1727442558209.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Made4uo-Ribe
Shopify Partner
9839 2339 2930

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

h1.collection-hero__title {
    text-align: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1727442740731.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9839 2339 2930

Hi @tipitea 

Would you mind to share your Store URL website? with password if its unpublish. 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.
tipitea
Excursionist
15 0 11
Made4uo-Ribe
Shopify Partner
9839 2339 2930

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

h1.collection-hero__title {
    text-align: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1727442740731.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.
tipitea
Excursionist
15 0 11

thank you very much ❤️ god bless you

Moeed
Shopify Partner
6704 1810 2194

This is an accepted solution.

Hey @tipitea 

 

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 </body> tag

<style>
h1.collection-hero__title {
    text-align: -webkit-center !important;
}
</style>

RESULT:

Moeed_0-1727442558209.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications