vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   (Solved)Need help moving the header and footer inside the body. (https://vborg.vbsupport.ru/showthread.php?t=271073)

billstelling 09-28-2011 11:35 PM

(Solved)Need help moving the header and footer inside the body.
 
1 Attachment(s)
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..
Attachment 133290
Attachment 133291

napy8gen 10-01-2011 01:29 AM

what is your forum url?

billstelling 10-01-2011 03: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 11: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 04: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.

Code:

.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 [DATE]1317492728[/DATE] at [TIME]1317492728[/TIME] ---------------

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 10:22 PM

1 Attachment(s)
Are you talking about on the style called "test"? This is what I see in the header in firefox:

https://vborg.vbsupport.ru/attachmen...1&d=1317511358

billstelling 10-01-2011 10: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
Code:

</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 02: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 04:20 AM

ah, doc background.. that's funny.. yep that was the problem..
Thanks for all your help Lynn. Your a sweety!


All times are GMT. The time now is 06:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01014 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete