PDA

View Full Version : How to make block on home justify align to header nav width?


ChrisG.
01-29-2010, 09:29 PM
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.)


http://armeetup.org/images/margin_fix.png

Lynne
01-29-2010, 10:05 PM
Do a Search in Templates for .body_wrapper and see what stylevar is setting the padding there.

ChrisG.
01-29-2010, 10:16 PM
I find this:

.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.