Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Currencies Drop Down Box Length

Currencies Drop Down Box Length

Locked

Views: 1,194

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 May 2008, 8:49 AM
#1
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Currencies Drop Down Box Length

Can anyone tell me how to make the drop down menu box shorter for the categories sidebox? I have pretty much gotten my store how I want it, but this box is a lil too long LOL

http://www.havendesignz.com/store/

30 May 2008, 11:08 AM
#2
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Currencies Drop Down Box Length

Never mind, I figured out how to use a seperate css declaration for the currencies sidebox padding :)

30 May 2008, 11:13 AM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: Currencies Drop Down Box Length

christon26:

Never mind, I figured out how to use a seperate css declaration for the currencies sidebox padding :)

I am curious?

  1. What was the declaration?
  2. What was the value?
  3. For the fix?
30 May 2008, 12:02 PM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Currencies Drop Down Box Length

K what I did, because I had certain padding values for the sideboxes to get them how I wanted, it drove the drop down box a lil too far to the right, which still looked fine in IE but not in FF lol

.sideBoxContent {
    padding-top: 0.3em;
    padding-left: 0.7em;
    padding-right: 0.5em;
    padding-bottom: 1em;
    }
```I added this in after that with the help of Firebug:

#currenciesContent {
padding-top: 0.5em;
padding-left: 0.5em;
padding-right: 0.5em;
padding-bottom: 1em;
}


Hope that helps! :D

*edited to add in that the seperate declaration should be added in after the main sideboxContent one *I think* lol because from what I remember, stylesheets use the last declaration to load....something like that anyway lol
30 May 2008, 12:12 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: Currencies Drop Down Box Length

Nice,
Thanks for the answer.
It helps me, and others in the forum..:smile: