Здравствуйте, помогите, как реализовать такое, нужно, чтобы левая часть была на всю высоту в зависимости от контента, он у меня залит фоном (скрин прилагаю).
Буду очень благодарен за помощь!
Код index.php
<?php
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$user = JFactory::getUser();
$this->language = $doc->language;
$this->direction = $doc->direction;
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<jdoc:include type="head" />
</head>
<body class="site <?php echo $option
. ' view-' . $view
. ($layout ? ' layout-' . $layout : ' no-layout')
. ($task ? ' task-' . $task : ' no-task')
. ($itemid ? ' itemid-' . $itemid : '')
. ($params->get('fluidContainer')? ' fluid' : '');
echo ($this->direction == 'rtl' ? ' rtl' : '');
?>">
<div class="body">
<div class="container<?php echo ($params->get('fluidContainer')? '-fluid' : ''); ?>">
<header class="header" role="banner">
<div class="header-inner clearfix">
<a class="brand pull-left" href="<?php echo $this->baseurl; ?>/">
<?php echo $logo; ?>
<?php if ($this->params->get('sitedescription')) : ?>
<?php echo '<div class="site-description">' . htmlspecialchars($this->params->get('sitedescription'), ENT_COMPAT, 'UTF-8'). '</div>'; ?>
<?php endif; ?>
</a>
<div class="header-search pull-right">
<jdoc:include type="modules" name="position-0" style="none" />
</div>
</div>
<nav class="navigation" role="navigation">
<div class="navbar pull-left">
<a class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
</div>
<div class="nav-collapse">
<jdoc:include type="modules" name="position-1" style="none" />
</div>
</nav>
</header>
<?php if ($this->countModules('position-1')) : ?>
<?php endif; ?>
<jdoc:include type="modules" name="banner" style="xhtml" />
<div class="row-fluid">
<?php if ($this->countModules('position-8')) : ?>
<div id="sidebar" class="span3">
<div class="sidebar-nav">
<jdoc:include type="modules" name="position-8" style="xhtml" />
</div>
</div>
<?php endif; ?>
<main id="content" class="<?php echo $span; ?>">
<?php if ( JFactory::getApplication()->getMenu()->getActive() === JFactory::getApplication()->getMenu()->getDefault() ):
if ( '1' == JModuleHelper::getModule('breadcrumbs')->params['showHome'] ):?>
<div class="breadcrumbs">
<jdoc:include type="modules" name="position-3" />
</div>
<?php endif;?>
<?php else:?>
<div class="breadcrumbs">
<jdoc:include type="modules" name="position-3" />
</div>
<?php endif;?>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="position-2" style="none" />
<jdoc:include type="modules" name="position-44" style="xhtml" />
</main>
<?php if ($this->countModules('position-7')) : ?>
<div id="aside" class="span3">
<jdoc:include type="modules" name="position-7" style="well" />
</div>
<?php endif; ?>
</div>
</div>
</div>
<footer class="footer" role="contentinfo">
<div class="container<?php echo ($params->get('fluidContainer')? '-fluid' : ''); ?>">
<jdoc:include type="modules" name="footer" style="none" />
</div>
</footer>
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>