centered wrapper background color

penstrom / 2010-02-17 16:05:48   

My site is www.enstromstudio.com. Ive got it set up with a wrapper to center the entire site. However I want to eventually get the site like this. A full, grey background with a white background behind the site content so as the content increases vertically, so does the white background.

I've tried messing with everything I can think of but nothing seems to work. What can I do? Thanks in advance.

Vaska A / 2010-02-17 16:17:08   

Which part is the problem? That your are missing the grey background? You can't do this with CSS or is there something else you are trying to do with background colors?

penstrom / 2010-02-17 16:25:20   

I can get the grey background. I just cant get the white background to go on top of that.

Vaska A / 2010-02-17 16:29:15   

Can't you add a background color to your wrapper?

penstrom / 2010-02-17 16:40:25   

I tried to but nothing happened. Ill change the wrapper background color to red now. Could take a look and see whats missing?

Vaska A / 2010-02-17 16:45:12   

I validated your page...you should do the same. It appears your css is probably correct but I think you are missing a div somewhere down the chain. This kind of error makes sense then...

penstrom / 2010-02-17 16:46:52   

ok. ill check that. thanks!

penstrom / 2010-02-17 17:47:41   

I validated and tried to fix what it said was wrong. Still cant seem to fix it.

Vaska A / 2010-02-17 17:49:37   

Do you see what's wrong with this picture? ;)

  1. <div id='wrapper'>
  2. <body class='section-1'>
penstrom / 2010-02-17 18:06:32   

ah, the wrapper needs to be inside the body tags. i misread your post on the 'centered' thread. I changed it but still...no red.

penstrom / 2010-02-17 20:27:55   
  1. So i got the red background to appear...but something is still wrong. When I place a # before <div class='clear-both'><!-- --></div> the red background appears. But only when that # is before. When it's removed, the red background goes away.

I've also run into something else that I cant figure out. The 'footer' div with the copyright info doesnt seem to be contained within the wrapper although i think its in the correct place.

This is frustrating when you dont know what youre doing. Grrrr
Thanks for the help in advance!

-P

Vaska A / 2010-02-18 12:47:09   

It doesn't have to be contained within the footer...it all depends how the template was built and its css.

You're going to have to play around to figure out where the closing #wrapper goes, I believe.

I would start by examining the source template...

kazo / 2013-06-08 15:49:43   

I wonder if there is something like a wrapper section in the v2.0 of indexhibit. I also want to have the background of the entire page set to grey and then have the content (menue + exhibit) on a separate white one.

any help out there with that?
thanks a lot :)

arsondpi / 2013-06-09 06:45:03   

But this is a 3 year old thread about the Legacy version of Indexhibit.
Have you got a url so we can take a look on what you've done up to now?

This thread has been closed, thank you.