Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Odd padding/margin problem in sidebar with widgets (http://forum.bytesforall.com/showthread.php?t=1084)

GilbertCenter Apr 3, 2009 11:25 AM

Odd padding/margin problem in sidebar with widgets
 
I'm really loving the power and flexibility of Atahualpa; really amazing job you've done with it, Flynn! Wow.

I've hit one odd little issue that I can't seem to get around, and I'm hoping that Flynn or someone else might be able to point me to what I'm overlooking.

Concerns the site: http://ceo.guidestar.org/

The left sidebar has a graphic at the top and bottom that's set in text widgets to encapsulate the sidebar (a design carry-over from the client's main website), with a few widgets in between them for sidebar content. The problem is that the background color of the sidebar (the lighter blue), seems to be dropping a visible 3px(?) horizontal bar at the very bottom *below* the last text box widget, and nothing I have tried seems to be able to get rid of it.

To be clear, it's not just the bottom, but is also showing between each widget above, but blends into the background, and is not a problem there.

I temporarily changed the background to black to illustrate it more clearly as seen here:
http://images.soceco.org/renaissance...Screenshot.jpg

I'm guessing that this is a style-set padding or margin in the sidebar container itself, but I can't find any setting anywhere in the dashboard to eliminate it. Is there perhaps a way to override that padding/margin setting that could be applied, or alternatively, a spot in the css/php that I could edit to remove it? I've dug around quite a lot, and am clearly missing it...

I'd really appreciate a push in the right direction if possible. Thanks very much for any help you can give me on this!

Flynn Apr 4, 2009 04:55 PM

Add, through an inline style or by giving the image an ID and then adding an CSS Insert, display:block to the image in the bottom text widget

HTML Code:

<img  style="display: block" src="http://ceo.guidestar.org/wp-content/themes/custom/CEOatahualpa332/images/GS-sidebarBtm1in.gif" alt="" />
You can do this with most images that show an unexplainable bottom margin

GilbertCenter Apr 6, 2009 12:15 PM

Yep, that did the trick. That's an elegantly simple approach to it, and one I'll tuck away in my bag-of-tricks as I learn CSS more fully. Thanks so much! That takes care of the only stumbling block that was in our way for using Atahualpa for this project; I can move on to other tasks now. ;)

I really appreciate your timely and concise help with this!


All times are GMT -6. The time now is 10:11 AM.

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