Shopify themes, liquid, logos, and UX
how do i change the cart icon to one ive uploaded myself? uploaded one in the files but not sure where the code is to replace it
lesbrons.com
@lesbrons - icon can be set from code or as background using css
so everything can just be done in the css file? i found the cart section in it for mobile (thats all i want to change it on) and have no idea what to change
@media screen (max-width: 980px) and (min-width: 741px) {
body.cart .cart-final-details input {
min-width: 145px;
}
}
body.cart #basket-right h2{
padding-bottom: 22px;
border-bottom: 1px solid var(--dotted-color);
text-align: center;
margin-bottom: 20px;
}
body.cart input#update-cart {
display: inline-block;
width: 49%;
line-height: 28px;
height: 38px;
}
body.cart h1.page-title {
padding-bottom: 22px;
border-bottom: 1px solid var(--dotted-color);
text-align: left;
}
body.cart h1.page-title span {
float: right;
text-align: right;
}
body.cart .rte-accordion .item {
width: calc(100% - 10px);
margin: 0 auto;
}
body.cart .cart-price .item-pricing,
body.cart .cart-price .line-pricing {
width: 38%;
display: inline-block;
vertical-align: top;
}
body.cart .cart-price .qty {
width: 20%;
display: inline-block;
vertical-align: top;
}
body.cart .subtotal p,
body.cart .discounts p,
body.cart .shipping p,
body.cart .tax p,
.ajaxcart__footer .subtotal p,
.ajaxcart__footer .discounts p,
.ajaxcart__footer .shipping p,
.ajaxcart__footer .tax p,{
margin-bottom: 0 !important;
}
body.cart .discounts,
body.cart .subtotal,
body.cart .total,
body.cart .shipping,
body.cart .tax,
.ajaxcart__footer .discounts,
.ajaxcart__footer .subtotal,
.ajaxcart__footer .total,
.ajaxcart__footer .shipping,
.ajaxcart__footer .tax {
display: inline-block;
width: 100%;
}
body.cart .shipping p.title,
body.cart .tax p.title,
body.cart .subtotal p.title,
body.cart .total h3.title,
body.cart .discounts p,
.ajaxcart__footer .shipping p.title,
.ajaxcart__footer .tax p.title,
.ajaxcart__footer .subtotal p.title,
.ajaxcart__footer .total h3.title,
.ajaxcart__footer .discounts p {
float: left !important;
}
body.cart .discounts ul,
.ajaxcart__footer .discounts ul {
float: right;
list-style: none;
margin-bottom: 10px;
}
body.cart .subtotal p.subtotal-price,
body.cart .total h3.total-price,
body.cart .discounts .cart-savings-amount,
body.cart .shipping p,
body.cart .tax p,
.ajaxcart__footer .subtotal p.subtotal-price,
.ajaxcart__footer .total h3.total-price,
.ajaxcart__footer .discounts .cart-savings-amount,
.ajaxcart__footer .shipping p.value,
.ajaxcart__footer .tax p.value {
float: right !important;
}
.ajaxcart__footer.row p {
line-height: 10px;
}
body.cart .cart-final-details p {
line-height: 10px;
margin-bottom: 10px !important;
}
h5.or-divider {
position: relative;
text-transform: uppercase;
}
div#basket-right h5.or-divider span:before {
content: '';
background: var(--dotted-color);
height: 1px;
width: 40%;
position: absolute;
left: 0;
top: 50%;
}
div#basket-right h5.or-divider span:after {
content: '';
background: var(--dotted-color);
height: 1px;
width: 40%;
position: absolute;
right: 0;
top: 50%;
}
@lesbrons I can help you change the icon. You can private message me here or email me directly. Thanks
@lesbrons - you have cart code but it is not for icon, we need to add it
User | RANK |
---|---|
235 | |
158 | |
60 | |
55 | |
47 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023