grzesiek2
09-09-2015, 10:31
Witam, jak wstawić zdjęcie jako tło całej strony, tak jak robiłem to w gantry4 nie działa to w gantr5 - custom/scss/custom.scss dodaję regułę background-image: url(../images/tlo.jpg); ale to nie działa.
Mam też pytanie jak ustawić brak artykułów na stronie głównej? same moduły żeby się tylko wyświetlały? w gantry4 można to było zrobić zmieniając delikatnie index.php szablonu.
<?php if($this->countModules('feature-a')) : ?>
<div class="rt-container">
<?php echo $gantry->displayMainbody('sidebar','standard','standard','s tandard','standard','standard'); ?>
</div>
<?php endif; ?>
<?php if($this->countModules('sidebar-a')) : ?>
<div class="rt-container">
<?php echo $gantry->displayMainbody('mainbody','sidebar','standard','s tandard','standard','standard','standard'); ?>
</div>
<?php endif; ?>
Z góry dziękuje za każdą informację
Mam też pytanie jak ustawić brak artykułów na stronie głównej? same moduły żeby się tylko wyświetlały? w gantry4 można to było zrobić zmieniając delikatnie index.php szablonu.
<?php if($this->countModules('feature-a')) : ?>
<div class="rt-container">
<?php echo $gantry->displayMainbody('sidebar','standard','standard','s tandard','standard','standard'); ?>
</div>
<?php endif; ?>
<?php if($this->countModules('sidebar-a')) : ?>
<div class="rt-container">
<?php echo $gantry->displayMainbody('mainbody','sidebar','standard','s tandard','standard','standard','standard'); ?>
</div>
<?php endif; ?>
Z góry dziękuje za każdą informację