Re: How to change text color on email signup and contact fields

Solved

How to change text color on email signup and contact fields

cruxleyfieldgoo
Tourist
6 0 3

I'm using the Beyond Theme and can't seem to figure out how to change the text color in the contact form field and email signup field. Right now it's white text on a white background so while text can be entered, the user can't see what text was written. I've thoroughly searched and tried editing the code as suggested by other users, but still haven't been able to solve the problem. Any thoughts would be much appreciated. 

 

Site: https://cruxleyfieldgoods.com/pages/contact

Accepted Solutions (2)

webwondersco
Shopify Partner
1164 169 170

This is an accepted solution.

@cruxleyfieldgoo , Please add the below line of CSS code at the end of your theme CSS file.

 

body input:focus-visible, 
body textarea:focus-visible{
color:#000 !important;
}
Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram

View solution in original post

Made4uo-Ribe
Shopify Partner
8424 2016 2471

This is an accepted solution.

Hi @cruxleyfieldgoo ,

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" 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.
textarea#contact_form_template--16158091280553__1632180071f18cee62-contact-textarea {
    color: black !important;
}
input#search-input {
    color: black;
}

Result:

Ribe_Dagandara_0-1688663021850.png

Ribe_Dagandara_1-1688663031037.png

I hope it help. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 5 (5)

webwondersco
Shopify Partner
1164 169 170

This is an accepted solution.

@cruxleyfieldgoo , Please add the below line of CSS code at the end of your theme CSS file.

 

body input:focus-visible, 
body textarea:focus-visible{
color:#000 !important;
}
Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram
cruxleyfieldgoo
Tourist
6 0 3

Perfect! Thanks so much! 

Coreymw85
Excursionist
15 0 3

Worked for me as well. Thank you!

Made4uo-Ribe
Shopify Partner
8424 2016 2471

This is an accepted solution.

Hi @cruxleyfieldgoo ,

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" 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.
textarea#contact_form_template--16158091280553__1632180071f18cee62-contact-textarea {
    color: black !important;
}
input#search-input {
    color: black;
}

Result:

Ribe_Dagandara_0-1688663021850.png

Ribe_Dagandara_1-1688663031037.png

I hope it help. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
cruxleyfieldgoo
Tourist
6 0 3

Thanks so much! It worked. Truly appreciated...only wish I would have asked earlier.