Hi,
I have used the attached code to remove the search icon and cart icon from my header. It works perfect on desktop, but remains visible on mobile. How can I also remove it from mobile?
Hi,
I have used the attached code to remove the search icon and cart icon from my header. It works perfect on desktop, but remains visible on mobile. How can I also remove it from mobile?
Hi @glorygut ,
Use media query example.
@media only screen and (max-width: 750px){
#cart-icon-bubble {
display: none;
}
}
Would you mind to share your URL website? Possibilities it maybe different selector name on the mobile. Thanks!
Hi @glorygut
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
Please add this css in your bottom of the base.css file:
.header__search, .header__icon–cart {display: none !important;}
Regards,
San
Hi there,
I think your missing something. Try this one.
details-modal.header__search {
display: none;
}
a#cart-icon-bubble {
display: none;
}
Result:
I hope it help.