How do i change the text positioning for collection headers on the homepage?

Hi,

Iv sent a pic below if anyone would be able to help.

We basically want to be able to make it so the collection headers are central.

https://21stcenturyrepairs.myshopify.com/

Thank you

You try adding this code to the bottom of base.css

.card-wrapper.animate-arrow .card__information {
  margin-left:auto;
  margin-right:auto;
}

Result:

1 Like

Hi,

Thankyou it did work, i put it onto a copy theme and it worked fine, then when I put it onto the normal one it stopped working, now it don’t work on either

Hi @Rekreation ;

Find your base.css file under the Asset folder and paste the code below. Let me know if it works

.card__heading {
text-align: center !important;
}

@Rekreation

Go to Online Store->Theme->Edit code
2. Asset->/ component-card.css. β†’ Add this code at the bottom of the file

.card__heading {
margin-top: 0;
text-align: center !important;

}

Solution : It will center your collection header.

If this post is helpful for you Kindly Like and Accept this as a solution.

1 Like