fix template

parent 4e021b9e
......@@ -15,7 +15,7 @@ $reviews = Reviews::find()
<span class="rev_title"><?=Yii::t('reviews', 'References about us')?></span>
</div>
</div>
<?php foreach ($reviews as $review) : ?>
<?php foreach ($reviews as $i => $review) : ?>
<?php if(!$review->video) : ?>
<div class="row">
<?php if($review->photo) : ?>
......@@ -47,6 +47,15 @@ $reviews = Reviews::find()
</div>
</div>
<?php endif; ?>
<?php if($i<count($reviews)-1) : ?>
</div>
</section>
<div class="reviews-delimiter"></div>
<section class="rev_sec reviews-block">
<div class="container">
<?php else : ?>
<div class="reviews-deend"></div>
<?php endif; ?>
<?php endforeach; ?>
</div>
</section>
......
......@@ -78,4 +78,19 @@ a.login_form_link, a.login_form_popup_link, a.reg_popup_link, a.reg_form_link{
}
.article_short_txt img {
width: auto !important;
}
.reviews-block {
background: #fff;
padding-bottom: 0;
}
.reviews-delimiter {
background: #fff url(../images/rev_bg.png) no-repeat top center;
widows: 100%;
height: 166px;
}
section.reviews-block .row {
margin-bottom: 0;
}
.reviews-deend {
padding-bottom: 60px;
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment