Viewing 9 replies - 1 through 9 (of 9 total)
  • Chris Dillon

    (@cdillon27)

    The current top and bottom margin is 20px. Try this in your theme’s stylesheet:

    .testimonial {
      margin 10px auto;
    }

    Thread Starter letscre8

    (@letscre8)

    Thanks but I guess even the padding for the testimonial box is too much. How do I reduce that ?

    Thread Starter letscre8

    (@letscre8)

    I mean after the paragraph is over inside the box there is so much space at the bottom. I guess that is the default padding. How do I reduce that cause that looks like a gap.

    Chris Dillon

    (@cdillon27)

    The current padding is 20px. Try this:

    .testimonial .inner {
      padding: 10px;
    }

    Thread Starter letscre8

    (@letscre8)

    For some reasons the space after the para inside the box remains the same. It is almost about 3 line space.

    Thanks

    Chris Dillon

    (@cdillon27)

    Then you’ve got something else going on. Please post a link to the site so I can take a look.

    Thread Starter letscre8

    (@letscre8)

    https://www.letscre8.com.au/ahs/client-testimonials/

    The top line in the box has proper padding but once the para is over then there is about 3 line space inside the box. Check and let me know.

    Thanks

    Chris Dillon

    (@cdillon27)

    Try these in your theme’s stylesheet:

    /* remove margin from paragraphs in testimonials */
    .testimonial .content p {
      margin-bottom: 0;
    }
    /* remove client info from bottom of testimonial */
    .testimonial .client {
      display: none;
    }

    Thread Starter letscre8

    (@letscre8)

    Fantastic…..that did the trick…..

    Thanks a ton

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to decrease the gap in between 2 testimonials ?’ is closed to new replies.