Shopify themes, liquid, logos, and UX
Hi,
I would like to change the text colour from black to white of the email sign up section on the password page of my website. See the screenshot below.
Thanks in advance.
Solved! Go to the solution
This is an accepted solution.
Hello @DD2024 ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your section-password.css file and paste the following code at the bottom:
.email-signup-banner__box .email-signup-banner__heading, .email-signup-banner__box div, .email-signup-banner__box form, .email-signup-banner__box form label {
color: #fff !important;
}
.email-signup-banner__box form input {
color: #fff !important;
border: solid 1px #fff !important;
}
Regards
Guleria
The text appears white on the mobile version but not the desktop version.
This is an accepted solution.
Hello @DD2024 ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your section-password.css file and paste the following code at the bottom:
.email-signup-banner__box .email-signup-banner__heading, .email-signup-banner__box div, .email-signup-banner__box form, .email-signup-banner__box form label {
color: #fff !important;
}
.email-signup-banner__box form input {
color: #fff !important;
border: solid 1px #fff !important;
}
Regards
Guleria
HI @DD2024
body.password.gradient .email-signup-banner__box.banner__box.newsletter.newsletter__wrapper * {
color: white !important;
}
body.password.gradient .email-signup-banner__box.banner__box.newsletter.newsletter__wrapper .newsletter-form__field-wrapper {
border: white !important;
}
body.password.gradient .email-signup-banner__box.banner__box.newsletter.newsletter__wrapper .newsletter-form__field-wrapper .field::after {
box-shadow: 0px 0px 1px 1px white;
}
I hope this helps
Best,
Daisy
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag
<style>
.banner--medium.banner--desktop-transparent .banner__box,
.email-signup-banner__box .email-signup-banner__heading,
.newsletter__wrapper>*+*,
.field__label {
color: #fff !importnt;
}
.banner--desktop-transparent .email-signup-banner__box .field__input {
color: #fff !importnt;
border: solid 1px #fff !importnt;
}
.field__input:focus,
.field:after {
box-shadow: unset !important;
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024