Commit ac01ef92f93899fcdfdc0a634780bb4387623d8b

Authored by Alex Savenko
1 parent dfd61497

background fix

frontend/views/layouts/company.php
... ... @@ -14,7 +14,7 @@
14 14 $this->beginContent('@app/views/layouts/main.php');
15 15 ?>
16 16 <div class="section-box content">
17   - <div class="section-box-14" style="background-image: url(<?= $this->params[ 'company' ]->userInfo->poster; ?>) 50% no-repeat ;">
  17 + <div class="section-box-14" style="background-image: url(<?= $this->params[ 'company' ]->userInfo->poster; ?>); background-repeat: no-repeat; background-position: 50%;">
18 18 <div class="box-wr">
19 19 <div class="box-all">
20 20 <?php
... ...
frontend/views/layouts/gallery-company.php
... ... @@ -10,7 +10,7 @@
10 10 $this->beginContent('@app/views/layouts/main.php');
11 11 ?>
12 12 <div class="section-box content">
13   - <div class="section-box-14" style="background-image: url('<?= $this->params[ 'company' ]->userInfo->poster; ?>') 50% no-repeat">
  13 + <div class="section-box-14" style="background-image: url('<?= $this->params[ 'company' ]->userInfo->poster; ?>'); background-repeat: no-repeat; background-position: 50%;">
14 14 <div class="box-wr">
15 15 <div class="box-all">
16 16 <?php
... ...
frontend/views/layouts/gallery.php
... ... @@ -10,7 +10,7 @@
10 10 $this->beginContent('@app/views/layouts/main.php');
11 11 ?>
12 12 <div class="section-box content">
13   - <div class="section-box-16" style="background-image: url('<?= $this->params[ 'user' ]->userInfo->poster; ?>') 50% no-repeat">
  13 + <div class="section-box-16" style="background-image: url('<?= $this->params[ 'user' ]->userInfo->poster; ?>'); background-repeat: no-repeat; background-position: 50%;">
14 14 <div class="box-wr">
15 15 <div class="box-all">
16 16 <div class="blog-buttons-wr style">
... ...
frontend/views/layouts/performer.php
... ... @@ -16,7 +16,7 @@
16 16 $this->beginContent('@app/views/layouts/main.php');
17 17 ?>
18 18 <div class="section-box content">
19   - <div class="section-box-16" style="background-image: url('<?= $this->params[ 'user' ]->userInfo->poster; ?>') 50% no-repeat">
  19 + <div class="section-box-16" style="background-image: url('<?= $this->params[ 'user' ]->userInfo->poster; ?>'); background-repeat: no-repeat; background-position: 50%;">
20 20 <div class="box-wr">
21 21 <div class="box-all">
22 22 <div class="blog-buttons-wr style">
... ...