Shopify themes, liquid, logos, and UX
Hi all,
I am trying to figure out how to remove the cart and account login sections of my site in the header. I will not be using them. I tried researching this but not finding much about how to do this. My theme is Refresh. You can view my website by visiting www.PennsylvaniaParks.org.
Thank you in advance 🙂
Solved! Go to the solution
This is an accepted solution.
Hello @Justin34 ,
I understand you are looking to hide the Account login and cart icon on the header section.
Please add the below mentioned code at the bottom of theme.liquid file before </body> tag and save.
<style>
.header__icons {
display: none !important;
}
</style>
Output -
I hope this helps.
Please let me know if you have any query.
Thank you.
Hello @Justin34
This is Amelia at PageFly - Shopify Advanced Page Builder app.
You can try the following steps I have provided to help you solve the problem you are facing:
Step 1: To set the accounts, go to the Shopify Admin -> Open "Settings".
Step 2: Click on the ‘Customer accounts’ → ‘Edit’:
Step 3: Disable option "Show login link in the header of online store and at checkout"
Hoping my solution helps you solve your problem.
Best regards,
Amelia | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Amelia, I tried your solution and sadly it dont work. The account login and cart buttons are still present. Thank you for your reply though.
This is an accepted solution.
Hello @Justin34 ,
I understand you are looking to hide the Account login and cart icon on the header section.
Please add the below mentioned code at the bottom of theme.liquid file before </body> tag and save.
<style>
.header__icons {
display: none !important;
}
</style>
Output -
I hope this helps.
Please let me know if you have any query.
Thank you.
That worked perfectly. Thank you so much!!
If your theme Refresh doesn’t have built-in settings to remove the cart and account login from the header, you might need to edit the theme’s header.liquid file. Look for code related to the cart and login elements and comment them out or remove them. Also, check if your theme settings allow hiding these sections without coding.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025