fix stili home page

This commit is contained in:
2025-01-06 00:44:44 +01:00
parent 9145bcec43
commit 831a742105
12 changed files with 848 additions and 105 deletions

View File

@ -72,9 +72,13 @@ var swiper = new Swiper(".carosello'. $module->id . '", {
<?php //var_dump($module); ?>
<?php if (!empty($elements)) : ?>
<div class="container-jit <?= !empty($classemodulo) ? $classemodulo : 'bg-grigio'; ?>">
<?= $module->title; ?>
<?php if (!empty($elements)) : ?>
<div class="py-5 <?= !empty($classemodulo) ? $classemodulo : 'bg-grigio'; ?>">
<div class="titolo-linea mb-4">
<div class="ps-5 ps-lg-3 container bg-grigio position-relative"><span class="h2 rosso"><?= $module->title; ?></span></div>
</div>
<div class="container-jit">
<div class="swiper carosello<?= $module->id; ?>">
<div class="swiper-wrapper">
<?php foreach ($elements as $index => $element) : ?>
@ -98,4 +102,5 @@ var swiper = new Swiper(".carosello'. $module->id . '", {
</div>
</div>
</div>
</div>
<?php endif; ?>