Im trying to center the title on the collection page but cant seem to get any to work! Also trying to center everything in the “featured product” section. Can anyone help?
.collection-hero__title {
margin: 2.5rem 0;
text-align: center !Important;
}
Add this code in the bottom of Component-collection-hero.css file,
That worked! What about centring all of the featured product info?
Kindly share your Store URL,
So that, I can help you.
Also to center the product to the middle on the collection page if possible! I like everything to be centered!
@media only screen and (max-width: 749px) {
div#ProductInfo-template--14743582277769__main {
text-align: center !Important;
}
quantity-input.quantity {
left: 108px !Important;
}
}
Add this code in the bottom of base.css file.
That didn’t seem to do anything unfortunately, anything else?
@media only screen and (max-width: 749px) {
.product__info-wrapper.grid__item {
text-align: center !important;
}
}
try out this code.
That didn’t work either
No, you didn’t added yet,
Add properly.
Add second code also.
@media only screen and (max-width: 749px) {
.product__info-wrapper.grid__item {
text-align: center !important;
}
}
I have copied and pasted both of those codes into the bottom of base.css like you have said. What could I be doing wrong?
Mobile looks perfect! What about pc now?
I will leave that one out for now then! What about moving the product to the center on the collections page? So it isn’t all the way on the left?
If you have more Queries and issues you can hire a developer.
Thank you.