Need help? Check out our Support site, then


removing empty cell spacers in twenty ten theme

  1. I created a blog using the Twenty Ten theme at http://thefundraisingcoach.wordpress.com/

    In each post I select the gallery option and put a summary in the excerpt field.

    The standard look of the home page gallery listing contained a line at the top of the excerpt that said "This gallery contains 2 photos" (or how many images were inserted in that post).

    I got rid of that line by inserting the following in CSS Edit box: div.format-gallery div.entry-content p em {display:none;

    That worked. The line no long displays. However, now there is what seems to be an empty field (or white space) were that text once displayed. I would like to get rid of that field or white space so that the excerpt text would move up and align vertically with the top of the featured image for each gallery listing.

    One more similar thing. At the bottom of the excerpt on the home page gallery listing, there is another big space between the last line of the excerpt and the cell with the links "More Galleries | Leave a Comment. I would like to get rid of those links, the cell in which they reside, and the cell above.

    All of this is to get rid of the extra spaces (or cells) in order to create a more compact gallery listing.

    Can this be done with CSS Edit?

    Thanks to anyone for your help.

    Walt

    The blog I need help with is thefundraisingcoach.wordpress.com.

  2. I got rid of that line by inserting the following in CSS Edit box: div.format-gallery div.entry-content p em {display:none;}

    You don't need all that, this should suffice:

    .entry-content p em {
    display:none;
    }

    To get rid of the gap, try this:

    .home .entry-content p {margin-top: -30px;}

    That should do it.

  3. One more similar thing. At the bottom of the excerpt on the home page gallery listing, there is another big space between the last line of the excerpt and the cell with the links "More Galleries | Leave a Comment. I would like to get rid of those links, the cell in which they reside, and the cell above.

    Try this:

    .entry-utility {display: none;}

    When you say, "and the cell above", what cell are you referring to?

  4. That does it.

    Actually the code

    .home .entry-content p {margin-top: -30px;}

    caused the text to run into the gallery image. I changed the value to -20px and it worked perfectly.

    Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic