Zen Cart Logo
Forums / Bug Reports / [Done v155a] State/Province dropdown is not displayed the same as other fields

[Done v155a] State/Province dropdown is not displayed the same as other fields

Views: 5,451

Results 1 to 5 of 5
24 Mar 2016, 6:38 PM
#1
perry_d_vogel avatar

perry_d_vogel

New Zenner

Join Date:
Jan 2015
Location:
Grand Forks, North Dakota, United States
Posts:
4
Plugin Contributions:
0

[Done v155a] State/Province dropdown is not displayed the same as other fields

When the State - Always display as pulldown? = True and using the Responsive Classic Template, the State/Province is not displayed correctly.

Attachment 16161

24 Mar 2016, 7:11 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,085
Plugin Contributions:
56

Re: [Done v155a] State/Province dropdown is not displayed the same as other fields

You can correct the display by editing /includes/templates/responsive_classic/css/stylesheet.css:

Line 84: Change from

select#country, .wrapperAttribsOptions select, #advSearchDefault select{height:40px;}

to

select#country, .wrapperAttribsOptions select, #advSearchDefault select[B], select#stateZone[/B] {height:40px;}

Then change line 460 from

#loginDefault #country, #createAcctDefault #country{margin-left:0;}

to

#loginDefault #country, #createAcctDefault #country[B], #loginDefault #stateZone, #createAcctDefault #stateZone[/B] {margin-left:0;}
29 Mar 2016, 1:49 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v155a] State/Province dropdown is not displayed the same as other fields

After applying the above, I discovered a few more places where this styling needs to be updated.

Edit: see below ...

29 Mar 2016, 5:47 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v155a] State/Province dropdown is not displayed the same as other fields

Thanks lat9,

I've discovered some additional changes since then:

/includes/templates/responsive_classic/css/stylesheet.css

Line 84: Change from

select#country, .wrapperAttribsOptions select, #advSearchDefault select{height:40px;}

to

select#country, .wrapperAttribsOptions select, #advSearchDefault select[B], select#stateZone[/B] {height:40px;}
[B]select#country, select#stateZone, #state {margin-left:0;}
[/B]

Then delete this line 460 :

#loginDefault #country, #createAcctDefault #country{margin-left:0;}
9 Apr 2016, 6:53 PM
#5
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: [Done v155a] State/Province dropdown is not displayed the same as other fields

Hello to everyone:

i just doing a change and i installing the V1.5.5 version and right now i have it on a demo after i check and install everything i need make sure is working the way i want, then i will move it to the root .

i am replying to this thread because i have similar problem with the date of birth on small devices when i trying to create an account with an small device on the date of birth is a drop down where i selected the date i selecte the date of birth correctly but when i summit send i get an error say is you date of birth 05/21/1970, is it a way that i can imput the info manually without the drop down menu, this only happen in small devices, Tabbles are ok PC is ok, Thank you in advance.

http://www.tni-wireless.com/d3m0V155zc/index.php?main_page=

DrByte:

Thanks lat9,

I've discovered some additional changes since then:

/includes/templates/responsive_classic/css/stylesheet.css

Line 84: Change from

select#country, .wrapperAttribsOptions select, #advSearchDefault select{height:40px;}

> to
> ```
select#country, .wrapperAttribsOptions select, #advSearchDefault select[B], select#stateZone[/B] {height:40px;}
[B]select#country, select#stateZone, #state {margin-left:0;}
[/B]

Then delete this line 460 :

#loginDefault #country, #createAcctDefault #country{margin-left:0;}