Shopify themes, liquid, logos, and UX
Hi
Anyone can help. We would like to align the product price & strike-through price in the center like the product title.
Anyone can help with the code & location to place?
Hii, @CentreStepIndia
Kindly share your store URL so,
I can solve it perfectly.
Thank You.
Hi @CentreStepIndia,
Please follow these steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > component-card.css and paste this at the bottom of the file:
.card-information__wrapper>.price{
justify-content: center !important;
}
Hope it helps!
This does not work. I have tried it on my site at https://queenswalkincloset.com/
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > component-price.css and paste this at the bottom of the file:
.price--on-sale .price__sale {
display: block !important;
flex-direction: row;
flex-wrap: wrap;
}
Thanks!
This worked! Thank you so much @dmwwebartisan
How do I center align variant, price & strikethrough on product page? See example at here
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024