Skip to content

Commit

Permalink
Fixed box layout background errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
zohaib87 committed Apr 17, 2021
1 parent 20328e8 commit 90d0d04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions controllers/class-theme-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ function _xe_override($value, $numeric = false) {

$this->boxed_layout_bg = get_theme_mod('boxed_layout_bg', De::$boxed_layout_bg);

$this->bg['bg-color'] = !empty($this->boxed_layout_bg['background-color']) ? $this->boxed_layout_bg['background-color'] : '';
$this->bg['bg-repeat'] = !empty($this->boxed_layout_bg['background-repeat']) ? $this->boxed_layout_bg['background-repeat'] : '';
$this->bg['bg-size'] = !empty($this->boxed_layout_bg['background-size']) ? $this->boxed_layout_bg['background-size'] : '';
$this->bg['bg-attachment'] = !empty($this->boxed_layout_bg['background-attachment']) ? $this->boxed_layout_bg['background-attachment'] : '';
$this->bg['bg-position'] = !empty($this->boxed_layout_bg['background-position']) ? $this->boxed_layout_bg['background-position'] : '';
$this->bg['bg-image'] = !empty($this->boxed_layout_bg['background-image']) ? $this->boxed_layout_bg['background-image'] : '';
$this->bg['color'] = !empty($this->boxed_layout_bg['background-color']) ? $this->boxed_layout_bg['background-color'] : '';
$this->bg['repeat'] = !empty($this->boxed_layout_bg['background-repeat']) ? $this->boxed_layout_bg['background-repeat'] : '';
$this->bg['size'] = !empty($this->boxed_layout_bg['background-size']) ? $this->boxed_layout_bg['background-size'] : '';
$this->bg['attachment'] = !empty($this->boxed_layout_bg['background-attachment']) ? $this->boxed_layout_bg['background-attachment'] : '';
$this->bg['position'] = !empty($this->boxed_layout_bg['background-position']) ? $this->boxed_layout_bg['background-position'] : '';
$this->bg['image'] = !empty($this->boxed_layout_bg['background-image']) ? $this->boxed_layout_bg['background-image'] : '';

// Setup Classes for Site_Layout
$this->container = ($this->site_layout == 'full-width') ? 'container-fluid' : 'container';
Expand Down
5 changes: 2 additions & 3 deletions controllers/template-tags/about-author.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ function _xe_about_author() {

<div class="author-info">
<ul class="row">
<li class="col-xs-2">
<li class="col-md-2">
<?php echo wp_kses_post($author['img']); ?>
</li>
<li class="col-xs-10 ml-3">
<li class="col-md-10">
<h5>About <?php echo esc_html($author['name']); ?></h5>
<br>
<?php echo wp_kses_post($author['desc']); ?>
</li>
</ul>
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
This is just another WordPress framework + build process. It is built for developers to create awesome and highly customizable themes for clients or sell it on marketplace.

== Changelog ==
----- v2.3.10 ------------
Fixed: Box layout background errors.

----- v2.3.9 ------------
Fixed: WPBakery Page Builder compatibility issue.

Expand Down

0 comments on commit 90d0d04

Please sign in to comment.