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)
-   -   [SOLVED] moving the text in widgets' header (http://forum.bytesforall.com/showthread.php?t=2962)

timdevogel Aug 14, 2009 05:27 AM

[SOLVED] moving the text in widgets' header
 
How do I move the text in the widgets' header? I'd like some padding on the left side.

juggledad Aug 14, 2009 06:04 AM

One way is with a CSS Insert. Look at the source of the page and locate the widget. For example you might see this
HTML Code:

<div id="polls" class="widget widget_polls"><div class="widget-title"><h3>Polls</h3></div>
In this case you would use the following CSS Insert
HTML Code:

div#polls h3 {
        margin-left: 20px;
        }

where 'polls' would be the widget ID in question and you would adjust the 20px to what ever you want.

timdevogel Aug 14, 2009 06:32 AM

ok, so there's no possibility in the theme options to make a general adjustment, for instance under Widgets --> Widget Title Box?

juggledad Aug 14, 2009 07:49 AM

Sorry, I had it in my midnd that you wanted to do this for a specific widget. To do them all just put
HTML Code:

margin-left: 20px;
in ATO->Style WIDGETS->Widget Title Box

timdevogel Aug 18, 2009 08:34 AM

Thanks JD. It didn't quite do the trick, because it pushed the whole heading, inlcuding the background, to the right, but then I figured out that it must have something to do with the padding and so I inserted

padding-left: 5px;

and that worked!


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

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