How Do I Center The Heading Of The Featured Collection?

I want the title of the featured collection to move to the center.

1 Like

Hi @fouzzy

Would you mind to share your Store URL website? with password if its protected. Thanks!

1 Like

finity-case.com || finity!

I’d like the “Custom Phone Cases” & “Popular Phone Cases” & “Collections” title to be in the center of the page if possible! Thank You!

1 Like

Thank you for the information. 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”.

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

    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__title.title-wrapper.title-wrapper--no-top-margin.page-width h2 {text-align: center;}

.title-wrapper-with-link.title-wrapper--self-padded-tablet-down.title-wrapper--no-top-margin {
    justify-content: center;
}
  • And save.

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

2 Likes

It sadly doesn’t work. I’ve tried so many codes but I don’t understand why it does not work on my store…?

1 Like

No worries, we can find another solution.

Try this one again.

.collection__title.title-wrapper.title-wrapper--no-top-margin.page-width h2 {text-align: center !important;}

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

Nope it still does not work. Even my other custom codes stopped working… What do I do? Thank you so much for trying to help me btw!

1 Like

Posibility there is a problem in your base.css file.

Try another one. Go to theme.liquid file. And paste this one before the tag.


1 Like

Where?

1 Like

Like this.

1 Like

do i remove

{%- render "ecom_footer"-%}
1 Like

i pasted the code above the code I just sent and it did nothing..

No dont remove anything. Paste before that code.

{%- render “ecom_footer”-%}

1 Like

It doesnt do anything..

1 Like

Did your refresh your browser? But on my side its already on the center.

1 Like

Huh how??

This is my view… On mobile it also doesnt show..

1 Like

Oh okay, but the collection it center right?

Can you change it to this code.


1 Like

The “Collections” works yes but the others doesnt..

1 Like

Still not working? I have another solution.


1 Like

Nope still doesnt work hahaha, and im still supposed to add it into theme.liquid right?