How do I create a space or <hr> between testimonials?
The simplest way to adjust that spacing is via CSS.
That is set by the margin
declaration in this rule in /gc-testimonials/assets/css/gctestimonial.css
:
.testimonial {
border: 1px solid #E6E6E6;
margin: 20px auto;
padding: 0;
text-align: left;
width: 90%;
}
There are a few ways to modify that:
1. Adding a rule to your theme’s stylesheet or custom CSS function, like
.testimonial {
margin-bottom: 40px;
}
2. Adding a rule using a custom CSS plugin.
3. Modifying the GC Testimonials stylesheet directly. (Generally not a good practice as a plugin update will overwrite your modifications but I do not believe there are plans for an update.)
To add an <hr>
, you would need to modify /gc-testimonial/testimonials.php
. Same note on modifying the stylesheet applies.
Find function gct_single_testimonial
then down about 30 lines to
$display .= '</div>';
$display .= '</div>';
$display .= '</div>';
return $display;
and add
$display .= '<hr>';
so it looks like this
$display .= '</div>';
$display .= '</div>';
$display .= '</div>';
$display .= '<hr>';
return $display;
Is there a way to edit the form and re-word the text?
The only way is more modifications like those above. I would be glad to help if you like.