Pc account icon does not show on mobile device

Topic summary

A user encountered an issue where the customer account icon appeared in the header on desktop but not on mobile devices after enabling “Show login link in header” in Shopify settings.

Root Cause:
On the Dawn theme, the account icon is placed inside the mobile menu drawer by default rather than in the header bar.

Solution Provided:
GemPages support shared CSS code to force the account icon to display in the mobile header:

  • Navigate to Online Store → Theme → Edit code
  • Open base.css in the Assets folder
  • Add the CSS snippet at the end of the file:
.header .header__icon--account {
  display: flex !important;
}

Important Notes:

  • This code is specific to the account icon only and shouldn’t be reused for other header/footer icons by simply changing the class name, as it may cause display issues
  • The solution worked for the original poster but some users reported it didn’t work on newer Dawn theme versions or the Prestige theme
  • Thread remains open with unanswered questions about compatibility with other themes
Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

Hello, I am trying to set up a website

I wanted to add an user account icon on the headbar. So I went to settings, customer accounts and I clicked on the button: Show login link in the header of online store and at checkout. Then I went back to my store on pc and I saw the user account icon on my pc. But when I log in on my mobile I could not find the icon on my header. Why does the icon show on pc width and why does it not show on mobile? Can someone help me fixing this problem?

Hi @Rasit_1

To provide you with the precise solution in this case, could you please share your page URL ( with pass if your store password is enabled )?
Or can you tell me what theme you are using?

Best regards,
GemPages Support Team

1 Like

Hello GemPages.

I am using the Dawn Theme.

@Rasit_1

On Dawn theme, the Account Icon inside the menu drawer on mobile.

If you want to show account icon in header bar on mobile devices,
you can try adding below code by following these steps:

  1. Go to Online Store → Theme → Edit code https://prnt.sc/fJOF9RnL7Rp5

  2. Open your base.css in the Assets folder.

  3. Paste the below code at the end of the file https://prnt.sc/l3nznmeTCiSW

.header .header__icon--account {
    display: flex !important;
}

Best regards,
GemPages Support Team

2 Likes

Thank you so much GemPages.

You literally saved me so much hours.

Lastly I have a question. If I do like a select language icon on the header and some icons on footer. Do I need to copy and paste this code under the base css and changing the icon–account to like icon–(The name) so then it also shows on mobile?

Hi @Rasit_1 , :smiley:

The above code only applies to the account icon in the header. Replacing the code with another icon’s name may make it incorrect.

Best regards,
GemPages Support Team

1 Like

Unfortunately, it didn’t work for me. Maybe because of the new Dawn update.

Do you have the latest fix? Please advice, thank you.

I have found the fix for the newer theme, nevermind. but thanks

The code didn’t work for the Prestige theme. Can you help plz