Background image (only half the page)

LehighFire

Joined: 2005-09-28
Posts: 4
Posted: Wed, 2005-09-28 05:14

I edited the theme.css for the matrix template to include the background image of the rest of my site. But its only doing part of the page.

http://lehightownshipfire.com/photos/main.php

What other file should i edit to get the full "effect"?

Thanks for any help you's can provide.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-09-28 05:30

If you scroll down a little farther in the theme.css you'll see a "Building blocks" section where this would fit in perfectly.

Here's what I changed to get closer:

#gallery {
	background-image: url(../../../../images/whtbrick03.jpg);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    color: #333;
    background-color: #fff;
}
body.gallery {
	background-image: url(../../../../images/whtbrick03.jpg);
    background-color: #fff;
}

.gcBackground1 {
	background-image: url(../../../../images/whtbrick03.jpg);
    background-color: #eee;
}

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
LehighFire

Joined: 2005-09-28
Posts: 4
Posted: Wed, 2005-09-28 22:29

Thanks, just as an FYI - i had to change .gcBackground2 to get the background to cover the whole site, without changing .gcBackground2 it would leave a good chunk of it white.

Thanks,

Sean

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2005-09-28 23:30

If I were you I'd put the background-image in body.gallery and take out any references to background-image and background-color in .gcBackground1 and 2. This way your background doesn't get offset.

 
LehighFire

Joined: 2005-09-28
Posts: 4
Posted: Thu, 2005-09-29 00:31
lvthunder wrote:
If I were you I'd put the background-image in body.gallery and take out any references to background-image and background-color in .gcBackground1 and 2. This way your background doesn't get offset.

When i do that, the background doesnt cover the entire page. If you goto the page now, i have it set to the way you told me.

http://lehightownshipfire.com/photos/main.php

There is still white within the gallerys.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-09-29 02:19

I see what he's saying, just get rid of .gcBackground1 and .gcBackground2 completely. You don't need them for what you are doing. At least it works fine that way in Firefox.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
LehighFire

Joined: 2005-09-28
Posts: 4
Posted: Thu, 2005-09-29 02:59

That works, thanks for your help.

If you guys are into looking at pictures of accidents and fire's go ahead and snoop through what we have up.