All things Shopify and commerce
Hello, I'm having an issue with my cart display. On web, you can correctly see the quantity of an item in the cart, but on my mobile site it won't display. It shows the + and - sign to add or subtract, but you aren't able to see the actual number for the quantity. This is the most urgent issue, although there is also not a way to order multiple units of the same item on my product page, requiring you to add a product to the cart one by one. How can I resolve this? I'm using the Envy theme, the site is www.arebesk.com.
Solved! Go to the solution
This is an accepted solution.
Can you update the code:
@media (max-width: 381px) {
.cart-table .cart-table-quantity .quantity-selector {
padding: 1px !important;
}
.quantity-selector {
font-size: 11px !important;
}
}
Go edit code and find theme.scss.css and add this:
@media (max-width: 352px) {
.cart-table .cart-table-quantity .quantity-selector {
padding: 4px;
}
.quantity-selector {
font-size: 13px;
}
}
Go edit code and find theme.scss.css and add this:
@media (max-width: 352px) {
.cart-table .cart-table-quantity .quantity-selector {
padding: 4px;
}
.quantity-selector {
font-size: 13px;
}
}
Thank you for the suggestion! I added this code snippet to my assets/theme.scss.liquid, but unfortunately I'm still having the same problem. Is there any specific place I need to put this code? Should I put this snippet in other places in the code?
May I know what phone you got the error on? I will give a code according to its size.
Yes! I got the error on an iPhone 12 mini.
This is an accepted solution.
Can you update the code:
@media (max-width: 381px) {
.cart-table .cart-table-quantity .quantity-selector {
padding: 1px !important;
}
.quantity-selector {
font-size: 11px !important;
}
}
Thank you! Using this code allowed it to display on a smaller phone but not a larger phone, but once I adjusted the max-width to 400px it worked. Thanks so much!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024