The text in my password page is not showing. I am guessing the text is black as the background and that is why it is not showing.
When I click here
This is what is showing
A user reports that text on their password page is invisible, likely because it’s black text on a black background.
Problem identified:
Solutions offered:
Multiple community members provided CSS code fixes targeting different elements:
Modal content fix - Add CSS to base.css to make modal background transparent and adjust input field styling
Form input styling - Modify theme.liquid file by adding CSS within <style> tags to set:
#ffff)#ffff)General approach - Locate the theme’s CSS file (typically theme.scss or styles.css.liquid) and add color overrides
Note: Some code snippets in the thread appear corrupted or reversed, but the core solution involves adding !important CSS rules to force proper text and background colors on password page elements.
The text in my password page is not showing. I am guessing the text is black as the background and that is why it is not showing.
When I click here
This is what is showing
Hi @priscychavez ,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
body.password .modal__content {
background-image: url(/cdn/shop/files/Portada_desktop_54.png?v=1718692316) !important;
}
body.password .modal__content .field__input {
background-color: transparent !important;
}
Hi @priscychavez ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Inside head tags. You need create style tags. After insert my code inside style tag
.password-form input {
background-color: #ffff !important;
}
button.password-button {
color: black !important;
background-color: #ffff !important;
}
button.modal__close-button.link svg,
small.password__footer-text,
small.password__footer-text a,
.password-modal__content-heading
{
color: #ffff !important;
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
I can Help or you can try this