A user seeks to remove the cart and account login elements from their site header using the Refresh theme, as these features wonât be needed.
Solutions Provided:
Shopify Settings Approach: Disable the âShow login link in headerâ option via Shopify Admin â Settings â Customer accounts. This solution was tested but did not work for the user.
CSS Code Solution: Add custom CSS code to the theme.liquid file before the </body> tag to hide both elements using display:none styling. This approach successfully resolved the issue.
Manual Theme Editing: Alternatively, directly edit the header.liquid file to comment out or remove cart/login code, or check theme settings for built-in hiding options.
Status: Resolved. The CSS code method effectively removed both header elements as requested.
Summarized with AI on October 30.
AI used: claude-sonnet-4-5-20250929.
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.
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â:
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.