remove profile and chart from header

Artez_0-1748504830872.png

I want to remove the profile and the chart from header.
please sea the difference between web and mobile.

I want to erase it in both version at all.

Thank you for your help.

https://wmqgez-r2.myshopify.com/

1 Like

Hello @Artez
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

.header__icons.header__icons--localization.header-localization {
display: none !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

Hey @Artez

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

Moeed_0-1748505278634.png

If I managed to help then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hi @Artez

You can hide it with CSS like others are suggesting but also if you want to remove ti completely you can remove a few lines.

Check

https://github.com/Shopify/dawn/blob/d2580d5cdb51553b1d7ed73ed132aa1e17e5842b/sections/header.liquid#L211

there whole section is starting, you can remove all or lines 237-264 for customer icon and 273-288 for cart.

Backup file and test.

Thank you Mr Proffesional. Works amazing on both mobile and web.