Hello again.
Well, this is my current state in my work. The first image is how I want the design (I've made easier).
The second is what I'm getting now. I don't know what's happening.
I'm focusing in normal, medium size (md, like laptops and classical desktop screens).
If Bootstrap grid is made up by 12 columns.
- First logo has 3 columns (col-md-3)
- Second one (module 'eltiempo', logo COLORES) has 3 columns.
- Third one (module social-icons) has 6 columns.
Why the third module is under the other two? It's sure that there is any explanation, but which one?
I attach the code. It could be useful. It is in block 'header.php'. And of course, in home-1 layout. Later, I'll worry about the search and language switcher modules.
Thanks in advance. I hope not to be too annoying.
$logosize = 'col-sm-12';
if ($headright = $this->countModules('head-search or languageswitcherload')) {
$logosize = 'col-sm-8';
}
?>
<!-- HEADER -->
<header id="t3-header" class="container t3-header">
<div class="row">
<!-- LOGO HERALDICO -->
<div class="col-xs-12 col-md-3 <?php echo $logosize ?> logo">
<div class="logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
<a href="<?php echo JUri::base() ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image'): ?>
<img class="logo-img" src="<?php echo JUri::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class="logo-img-sm" src="<?php echo JUri::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO -->
<!-- Logo Patronato COLORES -->
<?php if ($this->countModules('eltiempo')) : ?>
<div class="col-xs-12 col-md-3 <?php $this->_c('eltiempo')?>">
<jdoc:include type="modules" name="<?php $this->_p('eltiempo') ?>" style="raw" />
</div>
<?php endif ?>
<!--//Logo Patronato -->
<div class="col-xs-12 col-md-6 col-sm-4">
<jdoc:include type="modules" name="<?php $this->_p('social-icons') ?>" style="raw" />
</div>
<?php if ($headright): ?>
<div class="col-xs-12 col-sm-4">
<?php if ($this->countModules('head-search')) : ?>
<!-- HEAD SEARCH -->
<div class="head-search <?php $this->_c('head-search') ?>">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
<!-- //HEAD SEARCH -->
<?php endif ?>
<?php if ($this->countModules('languageswitcherload')) : ?>
<!-- LANGUAGE SWITCHER -->
<div class="languageswitcherload">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
<!-- //LANGUAGE SWITCHER -->
<?php endif ?>
</div>
<?php endif ?>
</div>
</header>
<!-- //HEADER -->