Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Testimonials start with space due to prepended newline character.

$
0
0

Replies: 0

If you want to use CSS to change the style of quotes, e.g. add some quotation marks, you will figure out that the default templates prepend a superfluous space character (” “) at the beginning of the quote. The reason for that is a newline character after the div definition, which will be removed certain tools.

templates/default/loop-testimonial.php line 31 and
templates/default/loop-testimonial.php line 36 resp.

Temporary fix, please consider to update default templates correspondingly.

old:
echo "<div class=\"testimonial_rotator_quote\">\n";
new:
echo "<div class=\"testimonial_rotator_quote\">";

Cheers,

Matthieu


Viewing all articles
Browse latest Browse all 67836

Trending Articles