Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Custom widget margin

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Dec 20, 2010, 11:55 AM
kal's Avatar
149 posts · May 2009
Rhode Island
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.
Ho Ho Ho
Blah Blah Blah
Old Dec 20, 2010, 03:00 PM
kal's Avatar
149 posts · May 2009
Rhode Island
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;}
Ho Ho Ho
Blah Blah Blah


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Styling Custom Widget Area bigwavedesign Sidebars & Widgets 5 Nov 12, 2010 03:47 PM
Removing border from my custom widget tlck9 Sidebars & Widgets 1 Oct 28, 2010 02:41 PM
Add Custom Menu as Widget soni Atahualpa 3 Wordpress theme 1 Oct 27, 2010 04:55 AM
Widget Content padding / margin quentinjs Sidebars & Widgets 5 Oct 16, 2010 01:59 PM
[SOLVED] Simple CSS question - how to increase right margin of custom bullets Wimbledon Sidebars & Widgets 2 Jun 5, 2010 07:14 PM

All times are GMT -6. The time now is 01:45 PM.

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