diff options
author | Jayaram R Pai | 2014-08-01 16:10:04 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-08-01 16:10:04 +0530 |
commit | 3cc669b7ee38c4b35ef9063f4c8077f05c2875b0 (patch) | |
tree | 0f3a216d6f471e23b2924f6a6c9f5151df2e4711 | |
parent | 342d8a80d4592865da07e0a2d7ab4729c7e1aea0 (diff) | |
download | scilab_theme-3cc669b7ee38c4b35ef9063f4c8077f05c2875b0.tar.gz scilab_theme-3cc669b7ee38c4b35ef9063f4c8077f05c2875b0.tar.bz2 scilab_theme-3cc669b7ee38c4b35ef9063f4c8077f05c2875b0.zip |
properly aligned testimonial display
-rwxr-xr-x | css/testimonials_front.css | 6 | ||||
-rwxr-xr-x | 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 "<li><i><p style='margin-top:16px'>{$cut}</i> <a href='' id='$row->id' data-target='#dialog{$row->id}' class='testimonial_read_more'>Read more..</a></p> + echo "<li><i><p style='margin-top:16px'>{$cut}</i></p><a href='' id='$row->id' data-target='#dialog{$row->id}' class='testimonial_read_more'>Read more..</a> <div id='dialog{$row->id}' class='dialog'> <img src='sites/all/themes/scilab/images/x.png' style='margin-top:-25px ;margin-left:704px;' class='lightbox_close'> <i><p style='margin-top:-1px'>{$row->body}</i><hr/><br/> |