Hello,
I am experiencing an issue with my product card text only on mobile view where the text is over lapping. Can someone please share the code to make the text relative to the image card? Thank you!
Using dawn theme, on a draft theme: https://skmzt94bl2o6uw3j-74563387678.shopifypreview.com
Hi there,
Add the below code to the bottom of global CSS file (Ex: base.css):
@media only screen and (max-width: 750px) {
.collection . slider-mobile-gutter .product-card-wrapper .card--standard .card-
information {
display: grid;
grid-template-rows: 1fr 1fr;
gap: 1em;
}
.collection . slider-mobile-gutter .product-card-wrapper .card--standard .card-
information>*:not(.visually-hidden:first-child)+*:not(.rating) {
text-align: left;
}
}
It will looks like this on mobile:
Hi @jewellerystore1
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file → Save
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Hi, I added this to to base.css but it hasn’t change anything?
Thank you!
Hello, thanks for you help but I would like the title to be left aligned and price right aligned instead of centred. Thanks!
I added this code then removed it but now the code is showing on my website down the bottom!! Can you please help remove it? I am on the same preview. Thank you