Forums

How do I remove the entry content spacing on my pages? (2 posts)

  1. MainMoose
    Member
    Posted 3 months ago #

    Here's the link to the page I'm referencing:

    CLICK HERE

    I'm using a child version of Twenty Eleven. Now that I've managed to add the sidebar to my pages, I need to remove the entry content margin/padding between the page title and the first line of text. The CSS for this seems to be universal for everything, but since I'm not including a date line under the page title, I would like to remove the extra spacing. Any suggestions on how to do this?

    Thank you!!

  2. ChristiNi
    Member
    Posted 3 months ago #

    Hi MainMoose,

    Glad to hear you're already using a Child Theme and thank you for your including the link to your site. I took a look at your site using the Firebug extension in Firefox so I could see what CSS was controlling that spacing. Here's what I would suggest trying:

    Add this to your Child Theme style sheet:

    .entry-content, .entry-summary {
        padding: 0 0 0;
    }

    That will override this CSS from the Parent Theme:

    .entry-content, .entry-summary {
        padding: 25px 0 0;
    }

    Hope this helps!

Reply

You must log in to post.

About this Topic