diff --git a/core/core.php b/core/core.php index bc51b31..cd81aac 100644 --- a/core/core.php +++ b/core/core.php @@ -2112,15 +2112,7 @@ class common { public function showScript() { // Lexique include('./core/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_core.php'); - ?>getInput('themeHeaderFeature') === 'swiper' ){ $swiperContent = $this->swiperContent('header'); + $headerHeight = 'unset'; + } else { + $headerHeight = $this->getInput('themeHeaderHeight'); } // $featureContent = str_replace(helper::baseUrl(false,false), './', $featureContent); // Si une image est positionnée, l'arrière en transparent. @@ -448,7 +451,7 @@ class theme extends common { 'font' => $this->getInput('themeHeaderFont'), 'fontSize' => $this->getInput('themeHeaderFontSize'), 'fontWeight' => $this->getInput('themeHeaderFontWeight'), - 'heightSelect' => $this->getInput('themeHeaderHeight'), + 'heightSelect' => $headerHeight, 'wide' => $this->getInput('themeHeaderWide'), 'image' => $this->getInput('themeHeaderImage'), 'imagePosition' => $this->getInput('themeHeaderImagePosition'), @@ -965,42 +968,9 @@ class theme extends common { // Adaptation du css au client pour l'option de défilement vertical if( $effect === 'vertical'){ $size = getimagesize($imageFile[0]); - $swiperContent .= ''; - } + $swiperContent .= ''; + $swiperContent .= ''; + } $swiperContent .= '