View Full Version : (Solved)Need help moving the header and footer inside the body.
billstelling
09-28-2011, 10:35 PM
Padding/color, not sure what it is but it's at the top and bottom of the site.
I'm trying to do a background on my site and I can't find were to get rid of this on the top and bottom of the site. The color is 2c2c2c and i've looked all through the stylevars and cc and can't find the setting for it..
133290
133291
napy8gen
10-01-2011, 12:29 AM
what is your forum url?
billstelling
10-01-2011, 02:36 AM
<a href="http://www.indianscout.us/forums/" target="_blank">http://www.indianscout.us/forums/</a>
the theme is called test. you will have to be in the forum to see it as the cms is locked to another theme.
setishock
10-01-2011, 10:41 AM
In the style manager search have you done a search for the color? Put the 2c2c2c in the search and you'll see all the places that have the 2c2c2c in them.
And are you wanting to move the navbar down in to the body like this? http://www.animeappeal.com/?styleid=111
billstelling
10-01-2011, 03:43 PM
yea. i even checked the css for that color as well as the stylevars.. nothing.. I'll look at that thead, thanks for posting it..
sort of like that.. If i can figure out what is coloring 'outside of body' I will just have to move the navbar down into the position I want. Funny thing is that the body background will go all the way up behind it.. It has something to do with the body wrapper as I can disable this in the css and it will cause the entire background to go grey.
.body_wrapper {
padding: {vb:stylevar body_padding};
background: {vb:stylevar body_background};
-moz-border-radius: {vb:stylevar border_radius};
-webkit-border-radius: {vb:stylevar border_radius};
border-radius: {vb:stylevar border_radius};
}
just tried a search and replace and it found no matches..
--------------- Added 1317492728 at 1317492728 ---------------
I just checked it on another pc and it's not 2c2c2c as it come up as white on that rig. I'm running a custom windows theme on my main rig so that's were the 2c2c2c was coming from..
so it has nothing to do with a set color but the body wrapper itself.
Lynne
10-01-2011, 09:22 PM
Are you talking about on the style called "test"? This is what I see in the header in firefox:
https://vborg.vbsupport.ru/attachment.php?attachmentid=133372&stc=1&d=1317511358
billstelling
10-01-2011, 09:48 PM
Yea, I see grey because of my custom desktop theme.. I Use custom Windows themes..
Whatever it is it has something to do with the body wrapper and affects above and below the body. IE the header and the footer. I moved
</div> <!-- closing div for body_wrapper -->
to the bottom of the footer template so you don't see it there atm but if you hit go on a page that is shorter than your open browser you will see it is still there.. just hidden on a full page by moving that to the bottom of footer.. I moved the footer inside the body in other words.. but I can't figure out how to do that with the header. That would fix it sort of or at least hide it but i would like to figure out how to just change the color for the body wrapper to transparent instead as it would be a better solution.
And yes the footer and header backgrounds have been set to transparent so I have no idea what it is or why it is happening. But for some reason anything outside of body gets covered that way. It's a bug of some sort..
Lynne
10-02-2011, 01:34 AM
It has nothing to do with the body_wrapper code since it is in the above_body class. If you want that background on the whole site, you need to apply it to the body class, not the body_wrapper class.
billstelling
10-02-2011, 03:20 AM
ah, doc background.. that's funny.. yep that was the problem..
Thanks for all your help Lynn. Your a sweety!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.