How can I remove the customer account icon on the express theme? I want it to either say “Account” or remove it if I cant do that
Hi, [email removed]Mau8210!
If you would like to edit the language of the Customer Account section, you can do so by -
-
Navigate to Online Store > Themes.
-
Click on Actions > Edit Languages.
-
Select Customer and edit the appropriate sections you would like to change.
If you would like to instead, remove the icon as a whole, there are two ways you can go about completing this. The first process is simple -
-
Head to Settings > Checkout.
-
Scroll down to Customer Accounts and select Accounts are disabled
-
Remember to Save!
The second process includes removing a code so only do this if you’re comfortable to do so -
-
Duplicate the theme file incase an error occurs (Online Store > Themes > Actions > Duplicate)
-
Once you have duplicated the theme and made a copy - click on Actions > Edit Code.
-
Scroll down to Sections > Header.Liquid.
-
Find the code below and delete this -
{%- if shop.customer_accounts_enabled -%}
{% assign customer_url = routes.account_login_url %}
{% assign customer_fallback_text = 'layout.customer.log_in' | t %}
{%- if customer -%}
{% assign customer_url = routes.account_url %}
{% assign customer_fallback_text = 'layout.customer.account' | t %}
{%- endif -%}
<a href="{{ customer_url }}" class="header__icon header__icon--accounts-link focus-inset" data-header-icon>
{% render 'icon-account' %}
<span class="visually-hidden">{{ customer_fallback_text }}</span>
</a>
{%- endif -%}
Remember to Save.
Let me know if any of the above steps are an issue and I can continue to look into this - alternatively, you can speak to any of our Support Advisors on live chat/callbacks.
I would also like to suggest taking one of our many courses available to you through our Shopify Learn section - specifically a course on Delivering a Customer Experience Worth Remembering. This is a great course to take while you’re in the process of editing your website and on the topic of customer accounts.