Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Why is my footer at the top of my page?

Why is my footer at the top of my page?

Locked

Started by electric_avenu on 2 Apr 2009, 10:11 PM · Views: 3,679

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
2 Apr 2009, 10:11 PM
#1
electric_avenu avatar

electric_avenu

New Zenner

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

Post #1 by electric_avenu

For some odd reason my footer, more specifically the copyright info, appears at the very top of the page. The text is in white so you have to select it to read it, but its at the very top center of the page.

I'm trying to have the copyright appear just below the mainContentWrapper, so that it moves as the mainContentWrapper changes size to accommodate the content (if that makes sense).

My page is electricavenue.us.

If anyone could help me out I'd greatly appreciate it!

2 Apr 2009, 10:15 PM
#2
electric_avenu avatar

electric_avenu

New Zenner

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

Post #2 by electric_avenu

For some odd reason my footer, more specifically the copyright info, appears at the very top of the page. The text is in white so you have to select it to read it, but its at the very top center of the page.

I'm trying to have the copyright appear just below the mainContentWrapper, so that it moves as the mainContentWrapper changes size to accommodate the content (if that makes sense).

My page is electricavenue.us.

If anyone could help me out I'd greatly appreciate it!

2 Apr 2009, 10:15 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

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

Post #3 by schoolboy

Are you "down-under" in Australia, perhaps? :D

Either stand on your head, or turn your computer screen upside-down...

... (okay, jokes aside... I'll take a look and if I see something obvious, I'll come back here.)

20 years a Zencart User

2 Apr 2009, 10:27 PM
#4
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Post #4 by charmedbytina2

lol @ schoolboy :laugh:

2 Apr 2009, 10:30 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

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

Post #5 by schoolboy

Not easy to see where the problem is, because you've done a lot of work on the custom template (which looks very handsome, by the way!).

Revert to CLASSIC template, to see if problem replicates (which I doubt), but you'll have to carefully inspect your template edits to see where the fault may lie.

20 years a Zencart User

2 Apr 2009, 10:38 PM
#6
electric_avenu avatar

electric_avenu

New Zenner

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

Post #6 by electric_avenu

That's what I was afraid of. Thanks for the suggestion.

2 Apr 2009, 10:38 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

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

Post #7 by schoolboy

Not only is your screen upside-down, now you're seeing "double"as well.

(A visit to the doctor is recommended) :D

20 years a Zencart User

2 Apr 2009, 10:40 PM
#8
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #8 by tony_sar

you have few of your elements set to absolute position.
such as mainwrapper , #contentMainWrapper , ,

in order for absolute works, you need to have its parent elements set to relative ..

for start , if you remove those position , you will see you footer is back to its location ..

3 Apr 2009, 12:22 AM
#9
electric_avenu avatar

electric_avenu

New Zenner

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

Post #9 by electric_avenu

Thanks Tony, it worked like an 'effin gem.

Now for some reason when I go to the "sample set" category, the mainWrapper gets offset 8px to the left.

3 Apr 2009, 2:22 AM
#10
electric_avenu avatar

electric_avenu

New Zenner

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

Post #10 by electric_avenu

Ah it was a problem with the "margin:auto" setting on the mainWrapper.

Thanks everyone!