Support » Theme: Twenty Twelve » Too much space below widget headers in sidebar

  • Resolved SusanGriffithspbf


    I’m a newbie to WordPress, but I’m finding it, on the whole, pretty easy to use. However, I’m having a problem with a site which I’m redeveloping for a voluntary organisation that I am a member of – – and I’m hoping that forum members might be able to help.

    I’m using the Twenty Twelve theme and I’ve created a child theme using a plugin and I have a number of widgets in the right sidebar. I’ve modified the css code to make the widget headings the same size etc as the Latest News heading which was produced by the news plugin SP News. I would prefer that the headings of the other widgets in the sidebar – Upcoming Events, Archive etc – were as close to the text which follows them as the Latest news one is, but I can’t find anything in the code which suggests to me a reason why they aren’t. This may not mean much because, although I’ve used CSS before, I’m not an expert and something very obvious may be staring me in the face.

    I would be very grateful if forum members could take a look at the site and offer any suggestions which they think might be useful. I did take a good look at the topics already covered in the forum and I couldn’t find anything which seemed exactly to fit my problem, which is why I’ve posted this topic.

    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Part of the problem is that the Latest News widget uses an h4 tag for the title, whereas the other widgets use an h3 tag, so the CSS rules are going to be slightly different.

    Try adding this to the end of your child theme’s style.css file as a start:

    .widget-area .widget h3 {
    	margin: 0;

    The .widget-area .widget h3 selector is what you’ll want to use to style the other widget titles.

    It worked! Many, many thanks, it’s been driving me mad.

    Oops! Forgot to mark this as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Too much space below widget headers in sidebar’ is closed to new replies.