Shopify themes, liquid, logos, and UX
Hey, I have been trying everything to make this work but nothing did! Could anyone help me with this? The product title needs to be inline with the product price on the collection page as shown below. My theme is Taste
LINK:https://e8aaa0-3.myshopify.com/collections/best-selling-products
PASSWORD: mohwhi
Hey @PRETTYFRIDAYS
You can achieve this using CSS. Follow the steps below:
.inline-items {
display: flex;
justify-content: space-between;
padding-right: 0;
}
You can add this at the end of stylesheet.
Thanks!
Hey, thanks for replying but I don't see the line where I am supposed to be putting the inline code, could you help me with finding this?
you can find the file within snippets section with name "card-product.liquid"
Add the class here near "card__information".
Or You can use this CSS without adding class.
.product-card-wrapper .card__content > .card__information {
display: flex;
justify-content: space-between;
padding-right: 0;
}
.product-card-wrapper .card__content > .card__information .card-information {
width: auto;
}
.product-card-wrapper .card__content > .card__information .price__regular {
white-space: nowrap;
}
Please add this CSS at the end of component-card.css file.
Hey! really appreciate your help and it did in fact work, but I only want it for desktop, how do I do this?
Just wrap above CSS within media queries, like this
@media screen and (min-width: 1025px) {
.product-card-wrapper .card__content > .card__information {
display: flex;
justify-content: space-between;
padding-right: 0;
}
.product-card-wrapper .card__content > .card__information .card-information {
width: auto;
}
.product-card-wrapper .card__content > .card__information .price__regular {
white-space: nowrap;
}
}
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024