View Full Version : Making header width same as body width..
saini1987
04-07-2013, 02:16 AM
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 1365389354 at 1365389354 ---------------
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:
<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:
#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:
#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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.