The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to make block on home justify align to header nav width?
This is best explained with visuals:
FYI - "doc_margin" does not solve this issue. doc_margin sets the margin from outside the "body" and "header" to the inside of the browser window. I need to remove the padding from between the "body" and the "block". (I kindly thank anyone for assistance.) |
#2
|
||||
|
||||
Do a Search in Templates for .body_wrapper and see what stylevar is setting the padding there.
|
#3
|
|||
|
|||
I find this:
Code:
.body_wrapper { padding: 0 {vb:math 2 * {vb:stylevar padding}} {vb:math {vb:stylevar padding}*2}; background: {vb:stylevar body_background}; -moz-border-radius: {vb:stylevar border_radius}; -webkit-border-radius: {vb:stylevar border_radius}; } If I'm reading this right, stylevar padding is 10, so 2*10 = 20 and that margin I'm trying to remove is indeed 20 pixels. I could probably replace to whole equation there, but I'm going to keep it simple and just replace the "2" with a "0", as 0*10 = 0 so that should fix it... BRAVO! Thank you so graciously for your assistance. You're so helpful. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|