Forums / Templates, Stylesheets, Page Layout / Help with MainWrapper

Help with MainWrapper

Locked

Started by deesan on 25 Jun 2008, 11:01 PM · Views: 1,855

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
25 Jun 2008, 11:01 PM
#1
deesan avatar

deesan

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Help with MainWrapper

My store is at http://dezign-xpressionz.com/Store/ I am trying to modify the length of the mainWrapper since I've added a background image to the store. I would like it to come down to the bottom of the page all the way and also would like it to start below the header... as you can see it is overlapping the bottom of the header. What would I need to modify in the stylesheet? Thanks

26 Jun 2008, 4:36 AM
#2
ls4680 avatar

ls4680

New Zenner

Join Date:
Jun 2008
Location:
Los Angeles, CA, USA
Posts:
5
Plugin Contributions:
0

Re: Help with MainWrapper

If I understand the question correctly I think you want to change to length of where your logo/background image goes so the nav bar is displayed lower

If so, here is the section

#logoWrapper {
background-image: url(../images/header_bg .gif);
background-color: #fff
text-align: center;
** height:250px;**

26 Jun 2008, 5:13 AM
#3
deesan avatar

deesan

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: Help with MainWrapper

Thanks for the reply. I guess I'm not understanding correctly. Am I supposed to move the header image to the logowrapper section from the mainwrapper? My code is below. Also, what can I do to get the white mainwrapper to flow to the bottom of the page?

#mainWrapper {

text-align: left;
width: 830px;
vertical-align: top;
background-image: url(../images/mainwrapper_tile.jpg);
background-repeat: repeat-y;
background-position: center;
}

#logoWrapper {
background-color: transparent;
height:282px;
}

#headerWrapper {
background-image: url(../images/header_bg.jpg);
background-repeat: no-repeat;

26 Jun 2008, 5:35 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Help with MainWrapper

I get

Server not found
Firefox can't find the server at dezign-xpressionz.com.

You can't have a tiled image in #mainWrapper that repeats over only part of the area - it's all or just one in each direction.

What you can do is have a background-color or background-image in #headerWrapper, which will cover any image behind it in #mainWrapper.

You also can't make #mainWrapper come exactly to the bottom of the browser window. It will expand only as much as required to fit the content, or else you can specify a fixed height or min-height.

26 Jun 2008, 7:01 AM
#5
deesan avatar

deesan

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: Help with MainWrapper

Thanks but I tried that and it didn't work with the header. Also an example of what I'm trying to get is mine to look like http://www.sweetshoppedesigns.com/ where the center section flows all the way to the bottom of the page. Thanks

26 Jun 2008, 3:29 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Help with MainWrapper

Now that I can see your site, I see what you mean by "bottom of the page".
You have a bannerbox (bannerbox 6) which you can turn off in admin, and the "Valid XHTML 1.0 Transitional" link which you can eliminate from /includes/templates/your_template/common/tpl_main_page.php.

For the header, I presume you want the body background to show behind the header image. As I said, you can't have a #mainWrapper background tiled and starting below the header; what you can do is give the background-color to #contentMainWrapper instead:

#contentMainWrapper {background-color: #ffffff;}

You will want to do the same with #navSuppWrapper and #siteInfoLegal as well, and #siteInfoIP if you want to leave that showing.

There is no good reason to use an image to make the background white as you were doing.

9 Jan 2009, 1:27 PM
#7
digitaldesigns08 avatar

digitaldesigns08

New Zenner

Join Date:
Dec 2008
Posts:
12
Plugin Contributions:
0

Re: Help with MainWrapper

This was SOOO helpful!!! Thanks so much.