If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / How can I change background color on search field so you can see the text?

How can I change background color on search field so you can see the text?

Started by heteromorphic on 3 Nov 2013, 7:57 PM · Views: 1,304

Results 1 to 6 of 6
3 Nov 2013, 7:57 PM
#1
heteromorphic avatar

heteromorphic

New Zenner

Join Date:
Jul 2012
Posts:
60
Plugin Contributions:
0

Post #1 by heteromorphic

If you go here: http://heteromorphic.com/zencart/ you can see if you try to type in the search field it is black so you can't see what you are typing. This is highly problematic when my customers are trying to checkout and it happens in other fields as well like the coupon code.

Does anyone know how to remove that w/out changing my entire background color or to change the text color in those?

Thanks in advanced!
Kristen

3 Nov 2013, 8:23 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

It's here in stylesheet.css:

input:focus, select:focus, textarea:focus {
background: none repeat scroll 0 0 #000D18;
}

You can change that to #FFFFFF if you want a white background.

3 Nov 2013, 8:28 PM
#3
heteromorphic avatar

heteromorphic

New Zenner

Join Date:
Jul 2012
Posts:
60
Plugin Contributions:
0

Post #3 by heteromorphic

Thank you - I did that and nothing changed though... I'm afraid I may have altered it somewhere else too?

3 Nov 2013, 9:28 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #4 by stevesh

It worked for me on your site in Firebug, and when I look at your stylesheet now, it's still #000D18, so whatever you did didn't change anything. Are your stylesheet files writable ?

3 Nov 2013, 11:02 PM
#5
heteromorphic avatar

heteromorphic

New Zenner

Join Date:
Jul 2012
Posts:
60
Plugin Contributions:
0

Post #5 by heteromorphic

stevesh:

It worked for me on your site in Firebug, and when I look at your stylesheet now, it's still #000D18, so whatever you did didn't change anything. Are your stylesheet files writable ?

Yes, perhaps I'm changing it in the wrong area. Do you know the full path by chance?

4 Nov 2013, 12:09 AM
#6
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Post #6 by moesoap

If you created your own template then the stylesheet is located in includes/templates/your_template/css/stylesheet.css otherwise it is in the default template folder or classic.