How can I remove the Create Account button circled in Red in the screenshot below for my 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
!importantflag 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.
Hi @AlphaKickz ,
Would you mind to share your store URL website? with password if its protected. Thanks!
Thank you for the information. Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- 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:
- 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
Thank you, it worked.
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?



