Forums / Templates, Stylesheets, Page Layout / Home/Login header. Moving it down from the top?

Home/Login header. Moving it down from the top?

Views: 3,930

Results 1 to 13 of 13
4 Feb 2008, 8:26 PM
#1
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Home/Login header. Moving it down from the top?

Hi everyone.

I apologize for the fundamental question, but I can't seem to find the answer anywhere on the forums or elsewhere.

The header in question, navMainWrapper — I want to simply not have it at the very top of the page, but a few pixels down. Easy enough, right. I figured just throwing a "top: 60px;" line in the stylesheet.css would do it, but nope. So I tried a "margin-top" line, and it did move it down, but now I have 60 px of white space.

Additionally, I find the bottom navMainWrapper to be redundant and want to remove it. How would I go about doing that? They're the same div, so that has be a bit confused as to how to edit one and not the other.

Thanks. I look forward to contributing to the forum where I can. :)

4 Feb 2008, 8:45 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Home/Login header. Moving it down from the top?

A link to your site would let us give specific advice for your situation.
If you want the background color of #navMainWrapper to continue to the top, use padding-top:

The footer nav is #navSuppWrapper.

You can disable the whole footer by setting $flag_disable_footer = true; in /includes/templates/your_template/common/tpl_main_page.php, following the directions in the comments at the top of the file.

If you want to be more selective, you can edit /your_template/common/tpl_footer.php.

4 Feb 2008, 9:02 PM
#3
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

I'd link if it were on a live server. Sorry.

Yeah, I tried padding-top. I just get the color of whatever navMainWrapper is for 60px. I don't want that. I want nothing. No color. Space. For 60 px. :)

My mistake about the footer. I misread the CSS. Thanks for that!

4 Feb 2008, 9:39 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Home/Login header. Moving it down from the top?

Well, you're going to have some color no matter what...

Do you mean you want the top of the page to shift down so the outer background shows above it?
In that case, you would put the margin-top in #mainWrapper.

4 Feb 2008, 10:31 PM
#5
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

Oh. MainWrapper.
Thank you.

Moral of the story: I'm a jackass.

4 Feb 2008, 10:37 PM
#6
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

Hmm. That doesn't work either.

5 Feb 2008, 6:57 PM
#8
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

Screenshot attached.

5 Feb 2008, 7:32 PM
#9
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

You know what. I think I got it. I swear to Christ I am an idiot.

5 Feb 2008, 7:54 PM
#10
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

lol, I sure didn't. This is almost becoming comical.

If someone wants to jump in and offer something, feel free.

5 Feb 2008, 10:05 PM
#11
dolph_lundgren avatar

dolph_lundgren

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

Don't want to disappoint everyone that are on the edge of your seats watching this thread like a hawk, but I'm abandoning this idea because I came up with a better design for my store which keeps it at the top.

10 Mar 2011, 12:54 AM
#12
adnan_7865 avatar

adnan_7865

New Zenner

Join Date:
Mar 2011
Posts:
1
Plugin Contributions:
0

Re: Home/Login header. Moving it down from the top?

Hi

I was wondering if you can tell me how i can move my homepage down a little bit so i can see the background of the page....thanks

10 Mar 2011, 6:15 AM
#13
gjh42 avatar

gjh42

Black Belt

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

Re: Home/Login header. Moving it down from the top?

Find in your stylesheet

#mainWrapper {

and add to it

margin-top: 23px;

Adjust to taste. If that doesn't do it, we will need to see your site to advise.