Hey I am updating my store but one thing really annoys me, on the collection page product card, the price, add to cart button and title are not fully left aligned. I will show the problem down below. Does anybody have a fix for this? Thanks in regards.
LINK: https://e8aaa0-3.myshopify.com/
PASSWORD: mohwhi
THEME: TASTE
1 Like
Go to component-card.css and add the following code:
.card--card.card--media>.card__content {
margin-top: calc(0rem - var(--image-padding));
padding: 0 !important;
}
.card__information {
padding-bottom: 1.7rem;
padding-top: 1.7rem;
padding-left: 0 !important;
}
Then go to quick-add.css and add the following :
.card--card .quick-add {
margin: 0 0rem 1rem !important;
}
Hi
Check this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.card__information, .card__content {
padding-left: 0px !important;
padding-right: 0px !important;
}
.card--card .quick-add {
margin-left: 0px !important;
margin-right:0px !important;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!