Login Randomly Appeared

Topic summary

Unexpected login elements (“My account,” “Logout,” and a person icon) appeared in the site header despite no recent theme changes. Initial confusion about a red notification bar was clarified; the issue concerned the account section in the header.

Root cause: Customer accounts are enabled, which automatically surfaces login/account links per Shopify’s customer accounts feature.

Proposed fixes:

  • Disable customer accounts in Shopify admin (removes the need for login links).
  • Or hide the header account link via CSS: add to theme.css
    .site-header-actions__account-link { display: none !important; }

Outcome: The CSS solution was applied and confirmed to remove the login link successfully.

Status: Resolved. No remaining open questions. Screenshots were used to identify the exact UI element involved.

Summarized with AI on December 15. AI used: gpt-5.

I haven’t made any changes to my website since August and I noticed today a new login tab has been added to the top of my website, see photo below.

Was this a new update or something that I missed?

I can’t figure out how to remove it. Let me know if anyone knows how to remove it :slightly_smiling_face:

Hi @RyanRichie

Are you mentioning to this red bar? If yes, please provide me your store URL so I can check it further for you

Best,

Daisy

Hi there,

No I mean the section with “My account” and “Logout” and the little person.

It was never there before and now it has been added but I don’t want people to have Logins for my website it is simply for viewing and then they have to call us to order.

Here is the link below:

https://whitelinedist.com/

Thank you in advance!

Hi @RyanRichie ,

Because you have enabled customer accounts, it will automatically show up in the store. Refer link

You can disable or remove it with the following code. Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

.site-header-actions__account-link {
    display: none !important;
}

Awesome that worked! Thanks so much!! :slightly_smiling_face:

1 Like

Hi @RyanRichie ,

You’re welcome and happy to help you