Support » Plugin: HMS Testimonials » Image Align Left

  • Resolved jeffreytp


    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff K


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

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

    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);

    Plugin Author Jeff K


    In your themes style.css

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image Align Left’ is closed to new replies.