Shopify themes, liquid, logos, and UX
How can I change the search and cart icons to the words "SEARCH" and "CART", without permanent underlining (though underlined when hovered over), to match the rest of my shop's font and menu style?
Ideally, when a product is added, CART will show (x) next to it instead of the black bubble showing the quantity.
I'm using Dawn theme.
Thank you —
Solved! Go to the solution
This is an accepted solution.
Please add this code more below the code I sent you above
a#cart-icon-bubble.header__icon.header__icon--cart span.svg-wrapper svg {
display: none ;
}
I hope this helps
Best,
Daisy
details-modal.header__search summary.header__icon.header__icon--search span.svg-wrapper::before {
content: "SEARCH";
}
details-modal.header__search summary.header__icon.header__icon--search span.svg-wrapper > svg {
display: none !important;
}
a#cart-icon-bubble.header__icon.header__icon--cart {
text-decoration: unset !important;
position: relative !important;
}
a#cart-icon-bubble.header__icon.header__icon--cart:hover {
text-decoration: underline !important;
}
a#cart-icon-bubble.header__icon.header__icon--cart span.svg-wrapper::after {
content: "CART";
}
details-modal.header__search {
margin-right: 20px;
}
details-modal.header__search summary.header__icon.header__icon--search {
text-decoration: unset !important;
}
details-modal.header__search summary.header__icon.header__icon--search:hover {
text-decoration: underline !important;
}
.cart-count-bubble {
background: transparent !important;
top: 30% !important;
color: black !important;
right: -20px !important;
left: unset !important;
font-size: 14px !important;
}
.cart-count-bubble::before {
content: "(";
}
.cart-count-bubble::after {
content: ")";
}
yes — however, the bag icon is still there it's just minuscule lol
Could you please share with me the screenshot after adding the code into your store
Best,
Daisy
This is an accepted solution.
Please add this code more below the code I sent you above
a#cart-icon-bubble.header__icon.header__icon--cart span.svg-wrapper svg {
display: none ;
}
I hope this helps
Best,
Daisy
Thanks so much!!!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025