Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Layout not wide enough

Layout not wide enough

Locked

Views: 1,403

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
10 Mar 2010, 2:20 PM
#1
purelypoultry avatar

purelypoultry

New Zenner

Join Date:
Mar 2009
Location:
Fremont, Wisconsin, United States
Posts:
50
Plugin Contributions:
1

Layout not wide enough

http://www.purelypoultry.com/page.html?id=21 Why is the whole page not showing? How do I change this?

10 Mar 2010, 2:29 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Layout not wide enough

You seem to be using iFrames which is a bad idea. They do not work in this context, and even more importantly, your customers will probably not be able to pay... Payment gateways routinely do not process transactions out of an iframe.

Re-arrange your site's structure to conform to standard ZC schemas. You can get a huge array of layouts just by tweaking the CSS and other standard design parameters.

10 Mar 2010, 2:29 PM
#3
haredo avatar

haredo

Totally Zenned

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

Re: Layout not wide enough

Pu,

  1. Download and install FireFox (if you don't have it already)
  2. Install Firebug (an add on for FireFox)
  3. Go to your site in FireFox, under Tools, start Firebug and Viola!
    you can play with your css to your hearts content. In Firebug, you can select your css, then select the element you want to change, and edit. Changes will be shown in real time without actually modifing the css, so you can see if your changes give you the desired effect. Once satisfied, go to your real stylesheet and comit the changes.

Even I can do a little bit of this, so that means most anyone can as well.

You can find FireFox and Firebug here. https://www.mozilla.com/firefox

10 Mar 2010, 2:35 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Layout not wide enough

I expect the Amazon content has a fixed width which is not affected by your overall site percentage width.
Since it is in an iframe, it obeys its own rules and not your site's rules.

10 Mar 2010, 3:06 PM
#5
purelypoultry avatar

purelypoultry

New Zenner

Join Date:
Mar 2009
Location:
Fremont, Wisconsin, United States
Posts:
50
Plugin Contributions:
1

Re: Layout not wide enough

I would assume since Amazon does iframes that their payment processing does work through iframes.

10 Mar 2010, 3:37 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Layout not wide enough

Maybe it does... you should test and find out, or at least get explicit official confirmation from Amazon that it does.

10 Mar 2010, 3:37 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Layout not wide enough

purelypoultry:

I would assume since Amazon does iframes that their payment processing does work through iframes.

It's possible... but one needs to investigate the context of their iframe usage.

I use iframe on some zencart shops, but only in ezPages where I call in a guestbook, or external form.

Ask Amazon if this will be an issue.

Additionally, it is the payment gateway that will be the stumbling block.

I know that PayPal will reject transactions coming out of an iframe.

10 Mar 2010, 3:44 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: Layout not wide enough

Are you actually selecting products and paying all in Amazon.com, or is it referred back to your site?

10 Mar 2010, 4:31 PM
#9
purelypoultry avatar

purelypoultry

New Zenner

Join Date:
Mar 2009
Location:
Fremont, Wisconsin, United States
Posts:
50
Plugin Contributions:
1

Re: Layout not wide enough

This amazon thing is an Astore. The customer selects the products (that I have hand selected) and paying for them through amazon. It is really that the customer is buying from amazon and I am just a website promoting these books and getting a commisssion.

I use zencart for most products but I can add this for ones that I cannot afford to stock in my store

10 Mar 2010, 4:43 PM
#10
purelypoultry avatar

purelypoultry

New Zenner

Join Date:
Mar 2009
Location:
Fremont, Wisconsin, United States
Posts:
50
Plugin Contributions:
1

Re: Layout not wide enough

I am struggling to figure out what exactly I have to change to make my page large enough to show the entire frame.

10 Mar 2010, 4:51 PM
#11
purelypoultry avatar

purelypoultry

New Zenner

Join Date:
Mar 2009
Location:
Fremont, Wisconsin, United States
Posts:
50
Plugin Contributions:
1

Re: Layout not wide enough

Actually this whole thing was amazons fault. They put 80% of the width of the frame as showable. I switched it to 100% and now it works wonderful. It actually is set up that one you select that you want it and proceed to checkout it goes to amazon.com and you complete the transaction there earning me refferal commissions.