HMS Testimonials
[resolved] How to vertical space (3 posts)

  1. juansandro
    Posted 2 years ago #

    Hi Jeff,

    Just wondering how do I/we style testimonials, I mean the text in "Source of Testimonial" "URL" etc... I would like just to create some space between these lines.



  2. Jeff K
    Plugin Author

    Posted 2 years ago #

    Hi juansandro,

    Each testimonial is wrapped in a div with a class called hms-testimonial-container.
    Then each component is wrapped in an element usually a div. In the settings you can adjust the source between a blockquote and a div.

    Once thing you could do is give all the child divs a padding of 5px in your themes style.css.
    .hms-testimonial-container > div { padding-bottom:5px; }

    Here is an example of what the testimonial container looks like:

    <div class="hms-testimonial-container hms-testimonial-18 hms-testimonial-template-6">
    	<div class="testimonial">Testimonial content.</div>
    	<div class="url"><a rel="nofollow" href="http://google.com" target="_blank">http://google.com</a></div>
    	<div class="author">Test</div>
    	<div class="date"></div>
  3. juansandro
    Posted 2 years ago #

    Thank you!

    Above was useful apart of the fact that both testimonials on the side as a widget and in the content use same CSS.

    But I can live with that, thank you! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HMS Testimonials
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic