vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Making header width same as body width.. (https://vborg.vbsupport.ru/showthread.php?t=296946)

saini1987 04-07-2013 02:16 AM

Making header width same as body width..
 
Hi mates,

i have a forum http://magestic.net
You can check that the header width and footer width is not as same as body width. Can someone tell me what to do to make the width of header as same as body width ?

its a 3.8.4 version

thanks

--------------- Added [DATE]1365389354[/DATE] at [TIME]1365389354[/TIME] ---------------

Please reply someone..

saini1987 04-17-2013 04:21 AM

can someone help me...?

darnoldy 04-17-2013 05:04 AM

As I look at your FORUMHOME page, I see the following line:
HTML Code:

<div class="page" style="width:1000pxpx; text-align:left">
This line is setting the width of your "body" (btw, you have an extra "px" in there that you should fix)

To make everything match, either set the width of your header and footer to 1000px, or set the width of the "page" class to 100%.

saini1987 04-17-2013 03:28 PM

thanks darnoldy for replying but the question i put is still there how to make the width of header and footer as same as body. Means, where to do it? I checked the Forum home template but that code you mentioned is not there....please help.

darnoldy 04-17-2013 04:10 PM

Somebody has customized your templates. Without going through every line of code, It looks like you need to set the width for 3 divs.

Add the following line to your custom CSS in the Admin control panel:

HTML Code:

#headerfix, #lineIn, #footerfix {width:960px;}
I that doesn't fix it, it should come close.

saini1987 04-18-2013 04:13 AM

hi darnoldy have added #headerfix, #lineIn, #footerfix {width:970px;} to the css but the left side has not collapsed...but right part is looking ok now. Can you tell me how to fix that left part..?

thanks

darnoldy 04-18-2013 05:38 AM

Try editing the style you just added to:

HTML Code:

#headerfix, #lineIn, #footerfix {width:960px; margin-left:auto; margin-right:auto;}

saini1987 04-18-2013 05:58 AM

Thanks darnoldy, that did it :)

One more thing, that theme has postbit legacy template in use by default, when i turn it to no then it won't change the style of postbit to standard style, how can i change the style of postbit pages like the style of postbit in this vbulletin forum...please help me fixing it too :)

darnoldy 04-18-2013 01:13 PM

You will probably have to contact whoever created the theme and have them modify the Postbit template to your specifications.


All times are GMT. The time now is 04:07 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.01033 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_html_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