How to change text color on email signup and contact fields

Solved
cruxleyfieldgoo
Tourist
5 0 2

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
477 78 83

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.
- Coffee Tip? 🙂

View solution in original post

Made4uo-Ribe
Shopify Partner
4175 954 1162

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. 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 5 (5)
webwondersco
Shopify Partner
477 78 83

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.
- Coffee Tip? 🙂
cruxleyfieldgoo
Tourist
5 0 2

Perfect! Thanks so much! 

Coreymw85
Tourist
14 0 3

Worked for me as well. Thank you!

Made4uo-Ribe
Shopify Partner
4175 954 1162

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. 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


cruxleyfieldgoo
Tourist
5 0 2

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