Hi. I would like to remove the search and cart icons from the header. I found some tips regarding editing the code in base.css but I don’t have that kind of file in my Motion theme. Also I am not good at coding.
I attach some files for reference
![]()
A user running the Motion theme wants to remove search and cart icons from their website header but lacks coding experience and cannot find the base.css file mentioned in existing tutorials.
Solution provided:
display: noneCSS code snippet:
a.site-nav__link.site-nav__link--icon.js-search-header.js-no-transition,
svg.icon.icon-bag-minimal {
display: none;
}
The solution was successfully tested and confirmed working by the original poster. Screenshots were shared showing the header before modification.
Hi. I would like to remove the search and cart icons from the header. I found some tips regarding editing the code in base.css but I don’t have that kind of file in my Motion theme. Also I am not good at coding.
I attach some files for reference
![]()
Hi @Marb2023
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
Sure, here is the link:
Thanks for the info, check this one.
a.site-nav__link.site-nav__link--icon.js-search-header.js-no-transition,
svg.icon.icon-bag-minimal {
display: none;
}
And Save.
Result:
Try to paste in the theme.css.liquid.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi, could you please help me with my question?
Thank you so much, it worked :))
Hi @JackHampel
Sorry., I didnt notice your reply here. Seems like youve already solved it.