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.
Topic summary
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.