Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / centering currency drop downbox within sidebox

centering currency drop downbox within sidebox

Locked

Views: 608

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
19 Aug 2010, 11:10 PM
#1
wotnow avatar

wotnow

Zen Follower

Join Date:
Jan 2010
Location:
Broome
Posts:
331
Plugin Contributions:
0

centering currency drop downbox within sidebox

Hi I am trying to center the currency dropdown box within the sidebox .. tried this:

#currenciesContent .sideBoxContent centeredContent form {
text-align:center;
margin:auto;}

ALSO scrolling in bestsellers is not centered

site is:http://www.rosedakinjewellery.com.au/index.php?main_page=index

Thanks for any suggestions

19 Aug 2010, 11:42 PM
#2
amandagero avatar

amandagero

Zen Follower

Join Date:
Feb 2009
Posts:
188
Plugin Contributions:
0

Re: centering currency drop downbox within sidebox

it looks like you have the currencies all figured out, try editing this on line 715 of the stylesheet for your bestsellers

#bestsellers li {
margin:0.3em 0;
padding:0;
}

20 Aug 2010, 12:22 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: centering currency drop downbox within sidebox

The currencies dropdown is centered, but not because of this code still active:```
#currenciesContent .sideBoxContent centeredContent form {
text-align:center;
margin:auto;}

What you have is a form inside one #currenciesContent.sideBoxContent.centeredContent element, and your rule does not apply as written. You actually don't need more than the id to specify this:```
#currenciesContent form {
	text-align:center;
	margin:auto;}
20 Aug 2010, 2:19 AM
#4
wotnow avatar

wotnow

Zen Follower

Join Date:
Jan 2010
Location:
Broome
Posts:
331
Plugin Contributions:
0

Re: centering currency drop downbox within sidebox

Hi thanks for your response .. i am viewing the site in firefox and although I have applied both your suggestions .. they both remain uncentered. Although when I look at them in internet explorer 7 the currency drop down box is centered .. but the best sellers is not .. very strange seeing as it is always IE that causes the problems not firefox.

20 Aug 2010, 3:55 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: centering currency drop downbox within sidebox

Does anything change if you clear your cache? Two of us are seeing the currencies centered, at least one in Firefox.

You have some left margin on the bestsellers list still:
stylesheet.css (line 716)
#bestsellers ol {
margin-left:1.1em;
padding:0;
}

20 Aug 2010, 5:44 AM
#6
wotnow avatar

wotnow

Zen Follower

Join Date:
Jan 2010
Location:
Broome
Posts:
331
Plugin Contributions:
0

Re: centering currency drop downbox within sidebox

Hi using a mac .. have altered all settings in best sellers and I have made it worse with headings going out of the sidebox. Currency still showing outside of its sidebox too .. they both look like they have left margin/padding but I cant find it .. looked through jscroller css too. Cache is cleared. Thanks