How to Remove the Create account button from Login Page

Topic summary

A user seeks to hide the “Create Account” button from their Shopify login page.

Initial Solutions Attempted:

  • First suggestion involved adding CSS code (a[href="/account/register"] { display: none; }) to base.css, style.css, or theme.css files
  • This approach did not work for the original poster

Working Solution:

  • Add the following CSS to the bottom of the base.css file:
main form a[href="/account/register"] {
  display: none !important;
}
  • The !important flag and more specific selector (main form) successfully hid the button

Resolution:
The issue was resolved using the second CSS approach. A follow-up question emerged about customizing CSS further, but remains unanswered.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

How can I remove the Create Account button circled in Red in the screenshot below for my Login Page?

1 Like

Hi @AlphaKickz ,

Would you mind to share your store URL website? with password if its protected. Thanks!

AlphaKickz

1 Like

Thank you for the information. Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
a[href="/account/register"]{
    display: none;
}

Result:

I hope it help.

I pasted the code into the base.css file and the create account still displays. I don’t have the other files mentioned.

Hi @AlphaKickz

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

main form a[href=“/account/register”] {

display: none !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

1 Like

Thank you, it worked.

1 Like

Thank you, Ribe for the attempt.

You are welcome @AlphaKickz

Hi, Bro

One more need help. I don’t want to use css I want to custom. so How can I do this?