[SOLVED] Widget Content Box spacing problem

From the author of Atahualpa, the #1 mostdownloaded (700,000+) theme @ wordpress.org

#1

Jul 5, 2009, 12:43 PM

kret

2 posts · Jul 2009

[SOLVED] Widget Content Box spacing problem

Hello,

I've upgraded to Atahualpa 3.4 from version 3.3.2 today. All went well and the update worked like a charm..almost ;) Well I got a little problem with spacing in Widget Content Box. In 3.3.2 I had put there

Code:

line-height: 1.7em

Now in 3.4 it's still there, but it does not affect the content of the sidebar. The difference is visible on those shots:3.3.2

This is more cosmetic glitch for me, so no need to go back to the previous version I will patiently wait for Flynns' return

Thanks for reply

#4

Jul 11, 2009, 06:34 AM

Flynn

3,768 posts · Oct 2008

Munich, Germany

To improve the plugin compatibility of Atahualpa I had to remove the widget-content DIV. The Default theme doesn't have that and many plugins such as the Tabbed Widgets plugin rely on the widget structure being the same as in the default theme.

You can put padding on the parent container div.widget instead, or, if you don't want the padding around the widget title but only around the body content of a widget, put the margin on "div.widget ul" for widgets that contain UL lists, on "div.textwidget" for text widgets. Bascially look for an already existing DIV around the content of your widgets

Older Atahualpa with div.widget-content:

div.widget-content {
....
}

Newer Atahualpa without div.widget-content

div.widget ul,
div.textwidget {
....
}

Adding this info to 3.4.2

#5

Sep 7, 2009, 07:45 AM

johullster

17 posts · Sep 2009

Brighton, UK

Hello

I have exactly the same problem, but I don't really understand your answer Flynn.

I've managed to create boxes in the style I like in my right sidebar but I can't find away to put padding in the text box.

I love the widget option but find it really restrictive as i can't find a way of styling it as I do with pages. For instance I don't know how to put a picture in the side bar text box...

Please can you advise the steps I need to take to

1) put padding around the text in my left sidebar widget
2) add photo's to the sidebar widget?

In fact do I need to use widgets at all in sidebars? is there another way to put content in there eg perhaps create a page and put that in???

Still new to wordpress, so grateful for any help you can give...

Thanks loads for a fab theme.

jo

#6

Sep 7, 2009, 03:33 PM

johullster

17 posts · Sep 2009

Brighton, UK

oops have worked out how to add photo's but still not clear on the text padding in the content box