Shujon
March 10, 2021, 7:40am
1
Hi can anyone help me in this communith i’ve asked previously in the community for help, I’ve been trying to get the prices dead centered with the titles on the collection page but it does
seem to be working not matter which HTML code I tried and I have tried lots any help would be greatly appreciated, I have tried various different codes that have worked for others but for some reason it does not work on my site any help would be great appreciated please been struggling with this issue for a while any advide or help would be very greatly appreciated.
as you can see the prices are not dead centered with the title it it looks even worse on mobile viewing.
this is mobile viewing as you can see the prices are not aligned or dead centered with titles which makes it look very unproffessional.
please do you have a html code or some thing to change this.
eeuureekkaa.com - store url
password - jaysab
thanks!
Hey bro
Just add this at the bottom of your theme.css file and your good to go.
.price dd {
margin: 0 0 0 0 !important;
}
.price__regular, .price__sale {
margin-right: 0 !important;
}
You might not need the !important but it’s just there to ensure it overrides the existing css classes.
Regards,
Martin
1 Like
please Go to Online Store->Theme->Edit code then go to Asset->/theme.css ->paste below code at the bottom of the file.
@media only screen and (max-width: 419px){
#Collection .grid .grid__item .grid-view-item .product-card__title {
min-height: 55px;
}
}
@media only screen and (min-width: 759px) and (max-width: 1129px){
#Collection .grid .grid__item .grid-view-item .product-card__title {
min-height: 40px;
}
}
1 Like
Shujon
March 10, 2021, 7:14pm
4
Thank you very much for your help this worked!!!
really appreciate it was honestly looking for more then a week thank you your a huge asset to the shopify community!
1 Like
Shujon
March 10, 2021, 7:17pm
5
Hi, thank you very much for your help although this did not work at this time
I appreciate you going out your way to help me
you are a huge benefit to everyone to shopify
JP_24
November 21, 2022, 1:14pm
6
Hi can you also help me as this solution not worked for me
I have changed the product-card code already for the image alt function