HMS Testimonials
[resolved] Image Align Left (5 posts)

  1. jeffreytp
    Posted 2 years ago #

    How do we align the image left when the testimonials are displayed?
    <p style="text-align:left;">

    Also on the display page, how do we make the persons name bold or italicized?

    When using DIV option, there needs to be a line space between each testimonial. Right now there is no way of knowing which name goes with which testimonial.

    These should be options in the plugin admin.


  2. Jeff K
    Plugin Author

    Posted 2 years ago #

    You can use CSS for all of this which is why there aren't options for it.

  3. jeffreytp
    Posted 2 years ago #

    would you be able to tell me which CSS document to edit and what to add?

  4. jeffreytp
    Posted 2 years ago #

    Looks like the changes have to be made in the admin.php for the plugin:

    Wrap text around image:
    edit admin.php for plugin

    go to line 3681:

    $builder .= apply_filters('hms_testimonials_system_image', '<img class="image" src="'.$image_url.'" style="height:'.$height.';width:'.$width.';" />', $testimonial);

    change to:

    $builder .= apply_filters('hms_testimonials_system_image', '<img class="alignleft" src="'.$image_url.'" style="height:'.$height.';width:'.$width.';" />', $testimonial);

  5. Jeff K
    Plugin Author

    Posted 2 years ago #

    In your themes style.css

    .hms-testimonial-container img.image { float:left; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic


No tags yet.