New Shopify Certification now available: Liquid Storefronts for Theme Developers

Help with header icons

Solved
Marb2023
Tourist
7 0 2

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

 

Screenshot 2023-11-17 at 15.16.48.pngScreenshot 2023-11-17 at 15.13.22.pngScreenshot 2023-11-17 at 15.13.05.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4184 960 1166

This is an accepted solution.

Thanks for the info, 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:

 

a.site-nav__link.site-nav__link--icon.js-search-header.js-no-transition,
svg.icon.icon-bag-minimal {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700235154743.png
  • Try to paste in the theme.css.liquid. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 6 (6)
Made4uo-Ribe
Shopify Partner
4184 960 1166

Hi @Marb2023 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Marb2023
Tourist
7 0 2

Sure, here is the link: 

afc0f3-3.myshopify.com

Made4uo-Ribe
Shopify Partner
4184 960 1166

This is an accepted solution.

Thanks for the info, 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:

 

a.site-nav__link.site-nav__link--icon.js-search-header.js-no-transition,
svg.icon.icon-bag-minimal {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700235154743.png
  • Try to paste in the theme.css.liquid. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Marb2023
Tourist
7 0 2

Thank you so much, it worked :))

JackHampel
Tourist
5 0 2

Hi, could you please help me with my question? 

Made4uo-Ribe
Shopify Partner
4184 960 1166

Hi @JackHampel 

Sorry., I didnt notice your reply here. Seems like youve already solved it. 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com