WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. juansandro
    Member
    Posted 10 months 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.

    Thanks!

    http://wordpress.org/plugins/hms-testimonials/

  2. Jeff K
    Member
    Plugin Author

    Posted 10 months 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>
    </div>
  3. juansandro
    Member
    Posted 10 months 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! :)

Reply

You must log in to post.

About this Plugin

About this Topic