WordPress.org

Support

Support » Themes and Templates » [Resolved] Custom Posts on a page template – spacing between them

[Resolved] Custom Posts on a page template – spacing between them

  • Hi,

    I am using the Twenty Ten theme.

    I have a page featuring testimonials which are custom posts. They appear on a page template i created with no sidebar. I can’t identify in the CSS how to control the spacing between the testimonial boxes. I want to make them closer together.

    http://rudmantraining.com/wordpress/testimonials/

    Any suggestions would be appreciated.

    thanks
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s this on line 525 style.css

    .hentry {
      margin: 0 0 48px;
    }

    don’t change that as it will affect every page. add this to the bottom of the stylesheet:

    .page-template-page-testimonials-php .hentry {
      margin: 0 0 20px;
    }

    change 20px to whatever you want
    this will affect only the testimonials page

    Fantastic that did it, it targets that particular page… very useful!

    cheers
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Custom Posts on a page template – spacing between them’ is closed to new replies.
Skip to toolbar