From 3cc669b7ee38c4b35ef9063f4c8077f05c2875b0 Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Fri, 1 Aug 2014 16:10:04 +0530 Subject: properly aligned testimonial display --- css/testimonials_front.css | 6 ++---- templates/page-front.tpl.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/css/testimonials_front.css b/css/testimonials_front.css index e812b48..f63e4fe 100755 --- a/css/testimonials_front.css +++ b/css/testimonials_front.css @@ -5,15 +5,13 @@ #testimonials_front{ - width: 270%;; padding: 20px 20px 15px 20px; background:url('../images/open-quote.png') no-repeat ; background-size: 22px 22px; background-position: 18px 30px; text-align:justify; min-height:90px; - margin-left:250px; - margin-top:-110px; + margin-top: 10px; -moz-border-radius:12px; -webkit-border-radius:12px; border-radius:12px; @@ -24,7 +22,7 @@ #testimonials_front a{ - float:left; + /* float:left; */ } .testimonial_head diff --git a/templates/page-front.tpl.php b/templates/page-front.tpl.php index 893dfaa..5320213 100755 --- a/templates/page-front.tpl.php +++ b/templates/page-front.tpl.php @@ -388,7 +388,7 @@ else { $cut= drupal_substr($string, 0, 300); } - echo "
{$cut} Read more..
+ echo "{$cut}
Read more..{$row->body}