How can I hide the 'Create Account' link in the Dawn theme?

Hi all,

I need to hide the “Create Account” link button on my store. I am using the Dawn theme. I was told in the past but with the new theme, some of the back-end pages are different so I am not sure where to put it when using the Dawn theme.

www.PennsylvaniaParks.org

Thanks so much!

Hi @Justin34 ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css->paste below code at the bottom of the file:
.header__icons .header__icon--account {
    display: none !important;
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Thank you for your reply. I can always count on you :slightly_smiling_face: That removed the “My Account” at top of page. I want to prevent people from creating a account. I want accounts to be by invitation only. But I want them to be able to log into the account. Hope that makes sense. Thanks :slightly_smiling_face:

Hi @Justin34 ,

Sorry for misunderstanding your point

You can revert to the previous code. Then add below code to hide create account page in base.css file:

.customer.register {
    opacity: 0;
    pointer-events: none;
}
a[href="/account/register"] {
    display: none !important;
}
2 Likes

Perfect :slightly_smiling_face: Thanks so much!!

1 Like