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)
-   -   Custom widget margin (http://forum.bytesforall.com/showthread.php?t=11822)

kal Dec 20, 2010 11:55 AM

Custom widget margin
 
I created a widget called "header-widget" and would like to have "0" margin for this specific widget. I added this to the HTML/CSS Inserts:

div#header-widget { margin: 0 !important;}

But it does not make a difference. Is this the correct way to specify a margin for a specific widget? I don't want to change margins for the other widgets -- only this one.

kal Dec 20, 2010 03:00 PM

I love it when I can get it on my own! :D

In case any folks want the answer

I needed to specify a negative margin. That seemed to do the trick.

div#header-widget { margin: -10px !important;}


All times are GMT -6. The time now is 12:14 PM.

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