Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Filter drop down and text are both white

Filter drop down and text are both white

Views: 655

Results 1 to 5 of 5
12 Feb 2012, 3:35 PM
#1
vinayag79 avatar

vinayag79

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Filter drop down and text are both white

Hi,

I installed a new mod for filtering products based on price and so on. But the problem is the text and the background are both white. I had a similar problem with country and I was given a solution by Stevesh. I tried using the same format for this and it din't work.

Below is the code I place in my stylesheet.css file but to no effect. Please help

#Filter Results by, #Filter Results by option {
background-color: #000;
color:#fff;
}

12 Feb 2012, 4:03 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Filter drop down and text are both white

#indexProductList form select option {background-color: #000;}

For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

Some prefer Firebug, which does much the same thing.

(If you're using Firefox 4-10, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)

20 Feb 2012, 2:06 PM
#3
vinayag79 avatar

vinayag79

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Filter drop down and text are both white

That worked but now i have the same problem with manufacturers. The background is white and the text is also white and I'm not able to find anything in the style sheet to make the text black

20 Feb 2012, 3:13 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Filter drop down and text are both white

Same thing:

#indexProductList form select option, #manufacturers form select option {
background-color: #000; color: #fff;
}

20 Feb 2012, 4:50 PM
#5
vinayag79 avatar

vinayag79

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Filter drop down and text are both white

Thanks once again Stevesh