Hi guys,
Sorry, I have to ask this again after loosing theme.scss file. I am supposed to launch the website today.
I want to align both “add to cart” button and “Qty” input box to the top and add padding to the product cart top/down/ left/right so that I get all produc cards in the following:
1- Collection-Mobile/view
2- Recommended products- Mobile/Desktop
3- In Mobile view: prices to be inside the product card.
4- Prices inside product card-Mobile/view.
5- Add gap between both “add to cart” button and “Qty” input box- Mobile/view
Thank you
allianceautoproducts.com
Thank you
allianceautoproducts.com
Hi @Alliance
- Go to “Online Store” => “Themes” => “Edit code”, then find the file “base.css”. If you can’t find it, you can find the file “theme.css” and scroll down to use and paste the following code:
.product-recommendations__inner .grid--view-items .grid__item .product-card {
position: relative !important;
}
.product-card form[action="/cart/add"] {
position: absolute !important;
}
Then save the file, go back to your website, and refresh.
2. Here is the result:
- Product card displayed on mobile:
I hope that it will work for you.