How can I switch login image to text and change shopper bag icon on Dawn theme?

hi guys, is there a way to change from the login image to a simple writing in “Login” and also the shopper bag to be changed to "Cart (0), which then remains stable also in the other pages of the shop?

(theme DAWN)

Hello @Alessioroma ,

It’s GemPages support team and glad to support you today.

I would like to give you a recommendation to support you so kindly follow steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  1. Open your header.liquid theme file

  2. Find header__icon–account and change the icon-account code to “Login” text

  1. Find header__icon–cart and change the icon-cart code to Cart ({{ cart.item_count }})

Let us know how it works for you.

Best regards,
GemPages Support Team

hi,it worked but I have not aligned the writings are one higher up the other with the 0 lower down, I’ll insert the link of the shop,in addition, when I add an item to the cart, the shipping bag appears,thanks

my adress is garmentism.com

I was able to solve the alignment by changing the font, the only remaining problem is that when I add an item to the cart, the shopper bag icon reappears the drawing

Hi @Alessioroma ,

I saw your issue. It needs to change more code than I think, so I suggest you should back up the theme file before editing:

After duplicating your theme, you can change the Current theme like that:

  1. Open header.liquid theme file > find header__icon–cart > remove this code

  1. Open cart-icon-bubble.liquid theme file > remove this code

  1. Open icon-cart.liquid and icon-cart-empty.liquid theme files > remove all code > replace by this code
Cart ({{ cart.item_count }})

Let us know how it works for you.

Best regards,
GemPages Support Team

I made it work on my site, but the only issue now is that even when they are “logged-in” it still states “login” how do I change that to either read, “logged-in” or “{name}”?