Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Credit card info fields - page layout wrong on purchased template

Credit card info fields - page layout wrong on purchased template

Views: 3,133

Results 1 to 10 of 10
16 Apr 2009, 8:53 PM
#1
countingmoney avatar

countingmoney

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Credit card info fields - page layout wrong on purchased template

I'm trying to find where I can change the layout of the credit card information fields on the Payment Information page. The template I'm using (purchased from TemplateMonster) has the expiration year/month fields located in the wrong places. I verified it was the custom template causing the problem, since the default Zen Cart template's layout of this page is fine.
Using v 1.3.8a.

Thanks - Mark RS

16 Apr 2009, 9:19 PM
#2
haredo avatar

haredo

Totally Zenned

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

Re: Credit card info fields - page layout wrong on purchased template

Co,
Click on the orange tab on the top of this page Called: Tutorials/Faq

  1. Search for: Developers Tool Kit
  2. Then find some wording on the page and use that to hunt down the .php file to edit
16 Apr 2009, 10:00 PM
#3
countingmoney avatar

countingmoney

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Re: Credit card info fields - page layout wrong on purchased template

I have already spent two hours searching using the Developer Toolkit, but I'm coming up empty. Any suggestions on search strings?

Thanks, Mark

5 Jan 2010, 9:20 PM
#4
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: Credit card info fields - page layout wrong on purchased template

Hi,
I am having similar problem. Did you find a solution to your problem.

I have also looked by searching the Developer's Tool Kit and no success.

I believe the templates from Template Monster is missing a file in the Includes/Template/YouTemplate, but I cannot find it. :frusty:

Can any one with more Zen Cart experience point me in the right direction?

Thanks :smile:

5 Jan 2010, 10:55 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Credit card info fields - page layout wrong on purchased template

You probably need to narrow the search string. Pick something that is distinctive, but does not include anything that might change in different situations.

22 Mar 2010, 5:47 AM
#6
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: Credit card info fields - page layout wrong on purchased template

After many hours pulling my hair, I have found a fix!

Go to:
Includes/Templates/Your Theme/CSS/stylesheet.css

Find:

LABEL.inputLabelPayment {
width: 15em;
float: left;
}

and change to:

LABEL.inputLabelPayment {
width: 15em;
float: middle;
}

Let me know if it works for you.

24 Mar 2010, 5:54 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Credit card info fields - page layout wrong on purchased template

float: middle; is an invalid property declaration. It works for you because you want the float ignored, but the better way would be to use

float: none;

or possibly just delete the whole float: xxx; line.

26 Mar 2010, 2:07 AM
#8
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: Credit card info fields - page layout wrong on purchased template

Got it, Thanks for the correction.

gjh42:

float: middle; is an invalid property declaration. It works for you because you want the float ignored, but the better way would be to use

float: none;

or possibly just delete the whole float: xxx; line.

13 Aug 2011, 7:55 PM
#9
vdang785 avatar

vdang785

New Zenner

Join Date:
Aug 2011
Posts:
4
Plugin Contributions:
0

Re: Credit card info fields - page layout wrong on purchased template

Hi all,

I'm having this same problem :( I tried to change the float to none or just delete it, but it doesn't work. This is how it looks like right now. The expiration field is put at the bottom... Can you please help?

I use an algozone template and zen cart 1.3.9h. Algozone is not responding to me.

15 Aug 2011, 7:40 PM
#10
gjh42 avatar

gjh42

Black Belt

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

Re: Credit card info fields - page layout wrong on purchased template

We need to see your site live to advise on how to change the styling for your custom template.