Hi, I have asked this question once before but am still yet to find an answer.
I am wondering how I change the account / login menu icon from that icon to text. In specific being “Account” as the text link.
I would appreciate anyone who could help me out with this. Thank you,
Tyler
1 Like
The answer that was given does not work, a message pops up in Custom Css saying:
“site-header__account” does not appear to be used in this section. Try a different selector.
Hello @Tylerverdee ,
You can try to follow these steps:
Go to Online Stores → Themes → Actions → Edit code
Go to Sections folder → Header.liquid file → Find the following line of code
{% if customer %}
{{ 'customer_account.svg' | icon_svg }}
{{ 'layout.navigation.account' | t }}
{% else %}
{{ 'customer.svg' | icon_svg }}
{{ 'layout.navigation.account' | t }}
{% endif %}
Replace the first line with the following code to remove the icon and display the text “Account” instead:
{% if customer %}
{{ 'layout.navigation.account' | t }}
{% else %}
{{ 'layout.navigation.account' | t }}
{% endif %}
Save and preview
Hope this can help. Let us know if you need anything else.
Ali Reviews team.
Hi @Tylerverdee ,
You can use the following code to change the Account icon to text “Account”
- From your Admin page, go to Online store > Themes > click the three dots > Edit code
- Find the Asset folder, and open the base.css file
- Add the code below at the very end of the file
a.header__icon.header__icon--account.link.focus-inset.small-hide:after {
content: "Account";
}
See result here:
1 Like
Thank you this was very helpful for this issue but now the cart header link and account link have overlapped: https://muddytrenchwear.com/?_ab=0&_fd=0&_sc=1
Hi @Tylerverdee
Sorry. It requires an password to see your website
My bad the password is MTT2023
Hi @Tylerverdee
Here you go
- From your Admin page, go to Online store > Themes > click the three dots > Edit code
- Find the Asset folder, and open the base.css file
- Add the code below at the very end of the file
.header__icons a.header__icon {
width: 7rem;
}
1 Like
Thank you for all of your help, I appreciate that.
1 Like