Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Custom Widget Margins

Prev Previous Post   Next Post Next
Old Nov 13, 2011, 06:50 AM
105 posts · Jun 2010
[SOLVED] Custom Widget Margins

I created a widget called "benefit-widget" and would like to have "0" margin for this specific widget. As is, the overall Atahualpa theme 3.7.1. adds a 15px margin at the bottom. Below this widget, I have a menu bar and so have an unwanted 15 pixel gap between this widget and the menu bar.

I tried adding this to the HTML/CSS Inserts:

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

I Tried,
div#benefit-widget { margin: -10 !important;}

I tried,
div#benefit-widget { margin: "" !important;}

I tried,
div#benefit-widget { margin: "0" !important;}

and I tried,
div#benefit-widget { margin: "0 0 0 0" !important;}

None of the above worked. 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.

Thanks very much


custom margins, widget margins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGFIX 361-04: Allow Custom Menu widget links to use same styling as Pages widget. juggledad Old Version fixes and change logs 1 Jan 22, 2011 08:40 AM
Custom widget margin kal Sidebars & Widgets 1 Dec 20, 2010 03:00 PM
CSS widget: changing il margins to increase type leading between links/hard returns white gazelle Sidebars & Widgets 2 Sep 3, 2010 09:26 AM
[SOLVED] Widget margins. suwak Sidebars & Widgets 7 Jul 10, 2010 10:40 AM
[SOLVED] Widget border with equal margins? clothahump Sidebars & Widgets 2 Mar 26, 2010 02:39 AM

All times are GMT -6. The time now is 11:54 PM.

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