Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Page width changed when I uploaded my site

Page width changed when I uploaded my site

Locked

Views: 820

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
1 Apr 2009, 4:34 PM
#1
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Page width changed when I uploaded my site

Ok, I developed my site locally (on my laptop) and everything looked and acted fine. Today I uploaded the new site to my server and my layout went from a fixed width 1000px to a percentage width 100%. I don't want the page to be 100%, I want it to be 1000px.

The really weird thing is that my header is staying at 1000px but the rest of the page, including the footer, is at 100%.

Just to make sure I wasn't going crazy (although I do believe I'm going crazy) I went back and checked it locally and now my local site is doing the same thing.

Can someone help me figure out why this changed out of the blue.

Thanks in advance!

Charlie

site is http://www.charliewaymire.com/store/

1 Apr 2009, 5:39 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page width changed when I uploaded my site

I'd say that the most likely explanation is a naughty pixie has crept into your machines and removed your logo DIV, but left the closing </div> behind.

As a result your navEZPagesTop escapes from your headerWrapper, but more significantly the rest of your site escapes from the mainWrapper that normally constrains its width.

1 Apr 2009, 5:57 PM
#3
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Page width changed when I uploaded my site

Kuroi you're a genius! :clap:

The page is back to normal. I actually had a closing div tag at the end of my tpl_header.php page that was not needed.

Now the only thing is my Logo and banner ad (I have it next to the logo) aren't showing up. I've checked my language file and put a direct url to the logo but that isn't working.

Any ideas?

Thanks again!

1 Apr 2009, 6:03 PM
#4
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Page width changed when I uploaded my site

Never mind I fixed it. The banner wasn't active (must have changed when I uploaded the files to my server) and when I activated it my logo all of a sudden showed up too.

Not sure why but it doesn't matter as long as it's there.

Kuroi thanks again for your help!!!

1 Apr 2009, 6:05 PM
#5
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Page width changed when I uploaded my site

http://localhost:8888/store/images/categories/basher_store_cat.jpg

Above is link code to your banner...incorrect if you are now using domain for store..

1 Apr 2009, 6:27 PM
#6
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Page width changed when I uploaded my site

Thanks Misty.

I knew I was going to miss a few of those testing links. Funny thing is when I change it to the correct link it disappears. If I put it back to localhost it works....

1 Apr 2009, 6:36 PM
#7
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Page width changed when I uploaded my site

Ok I think it's time for me to take a break. I totally forgot to type the .com after the domain name. :lamo:

Thanks for your help!

1 Apr 2009, 10:11 PM
#8
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Page width changed when I uploaded my site

thebasher:

If I put it back to localhost it works....

... probably becuase you're still viewing everything through "localhost" (your own machine, so it calls that reference) - but the public won't be viewing through localhost...