Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Center column styling: how can I remove margin or padding? (http://forum.bytesforall.com/showthread.php?t=1048)

bcorrigan Apr 1, 2009 01:23 PM

Center column styling: how can I remove margin or padding?
 
My goal is to have the background-color that I have on post headings span from margin to margin in the center column and then provide white space for the text of post between the left and right columns.

I believe I want to change my margins between the columns to zero and then have some padding in post content.

I can't figure out which setting to change in theme settings, though. Any thoughts?

My site is at:
http://depts.washington.edu/ophthweb/wordpress/

Thanks,

Bill

Flynn Apr 1, 2009 08:25 PM

Delete the contents of A. Theme Options -> Center -> Center column style

At Post/Page Styling -> HEADLINE Box put something like

HTML Code:

padding: 5px 30px;
(for 5px top/bottom and 30px left/right padding inside the headline box as you probably don't want the headline itself (the text) to touch the sidebars

At Post/Page Styling -> BODY Box put something like

HTML Code:

padding: XXpx XXpx;
Bascially all margin and padding for the post/page boxes would be controlled at Post/Page Styling

bcorrigan Apr 2, 2009 10:53 AM

Thanks Flynn, this but with a tweak to your recommendation.

When I remove all styling from the A Theme Settings -> Center Column Styling, I get a one pixel border. I'm suspecting this is related to me hiding or not using the border elements between the Theme header and the three columns.

I fix this by using padding: 0px 0px; in the Center Column Styling box.


All times are GMT -6. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.