Hi there Friend:
When i turned my web into multilingual (spanish/english) site, and i called the banner in slideshow position, suddendly appears a white box with its CSS (padding: 120px 0 60px;)
I just replaced the statement code in the index.php - line 128 (/templates/jf_calla-exteriors/index.php)
and it really worked. BUT... appears a white bar just at the bottom of the SLIDESHOW position, with this rule in its CSS: padding: 120px 0 60px;
That's the:
<div id="jf-content"> / <div>class="main clearfix"</div> / #jf-content .main {padding: 120px 0 60px;}
and the [padding: 0;] dissapears![.home #jf-content .main]
How can i quit that from the home page?, because if i eliminate this line (/*padding: 120px 0 60px;*/), the rest of the menu item pages will not match in the top.
THIS IS THE ORIGINAL STATEMENT:
<?php
if ($menu->getActive() == $menu->getDefault()) : ?>
<div id="jf-slideshow">
<div class="main clearfix">
jdoc:include type="modules" name="slideshow"
</div>
</div>
<?php endif; ?>
---***Replace with:
<?php
if($this->countModules('slideshow')) : ?>
<div id="jf-slideshow">
<div class="main clearfix">
jdoc:include type="modules" name="slideshow"
</div>
</div>
<?php endif; ?>
---*** This other statement works too, BUT IN THE SAME WAY:
<?php
if ($menu->getActive() == $menu->getDefault() || $menu->getActive() == $menu->getDefault('en-GB' ) || $menu->getActive() == $menu->getDefault('es-ES')) : ?>
<div id="jf-slideshow">
<div class="main clearfix">
jdoc:include type="modules" name="slideshow"
</div>
</div>
<?php endif; ?>
This image is hidden for guests. Please log in or register to see it.
This image is hidden for guests. Please log in or register to see it.