How to fix the login age broders and button at the headerof the page?Any help will be much appreciated. Many thanks
My store URL: https://kuzushop.com/
A user is experiencing visibility issues with borders on their Shopify storeβs login and account creation pages. The borders around input fields and buttons are not displaying properly.
Problem Details:
Solutions Offered:
Multiple developers provided CSS fixes with similar approaches:
Theme.liquid method - Add custom CSS before </body> or </head> tag targeting .customer .field and .customer button classes
Customer.css method - Insert code at bottom of customer.css file using more specific selectors like .customer :is(#customer_login, #create_customer) .field:after
Base.css/theme.css method - Add border styling to .customer .field input at end of stylesheet
All solutions involve adding border: 1px solid #000 to input fields and styling buttons with background colors and box-shadows. Contributors requested the user mark helpful responses and accept a solution once implemented.
My store URL: https://kuzushop.com/
Hello @KuzuRan
You can add code by following these steps
Go to Online Store β Theme β Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello @
You can add code by following these steps
.customer :is(#customer_login, #create_customer) .field:after {
border-color: #000;
}
.customer :is(#customer_login, #create_customer) button {
background-color: #000;
}
.customer :is(#customer_login, #create_customer) button:after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(243,243,243, calc(1 - 0.3 )), 0 0 0 var(--buttons-border-width) #000;
}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
You can add code by following these steps
Screenshot:
Login Page: https://prnt.sc/nx3LCp4EyUnS
Register Page: https://prnt.sc/MjYN89Hui6Dl
You can add code by following these steps
Screenshot:
Login Page: https://prnt.sc/nx3LCp4EyUnS
Register Page: https://prnt.sc/MjYN89Hui6Dl
.customer .field input {
border: 1px solid #5433EB !important;
}
#customer_login button {
background: #5433EB !important;
}