Bug débordement image del abnnière perso
This commit is contained in:
parent
f843b46333
commit
ac370dd89f
|
@ -2321,7 +2321,8 @@ class core extends common {
|
||||||
// Bannière au contenu personnalisé
|
// Bannière au contenu personnalisé
|
||||||
if ($this->getData(['theme','header','feature']) === 'feature' ) {
|
if ($this->getData(['theme','header','feature']) === 'feature' ) {
|
||||||
// Hauteur de la taille du contenu perso
|
// Hauteur de la taille du contenu perso
|
||||||
$css .= 'header #featureContent{height:' . $this->getData(['theme', 'header', 'height']) . ';}';
|
$css .= 'header {height:'. $this->getData(['theme', 'header', 'height']) . '; min-height:' . $this->getData(['theme', 'header', 'height']) . ';overflow: hidden;}';
|
||||||
|
//$css .= '.bannerDisplay img { width: auto;max-height:' . $this->getData(['theme', 'header', 'height']) . ';}';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ $("input, select").on("change", function() {
|
||||||
// Contenu perso
|
// Contenu perso
|
||||||
if ($("#themeHeaderFeature").val() == "feature") {
|
if ($("#themeHeaderFeature").val() == "feature") {
|
||||||
|
|
||||||
css = "header{height:" + $("#themeHeaderHeight").val() + "; overflow:hidden; background-position:top; background-repeat: no-repeat; line-height:1.15; background-color:unset; background-image:unset; text-align:unset;}";
|
css = "header{min-height: " + $("#themeHeaderHeight").val() + ";height:" + $("#themeHeaderHeight").val() + "; overflow:hidden; background-position:top; background-repeat: no-repeat; line-height:1.15; background-color:unset; background-image:unset; text-align:unset;}";
|
||||||
|
|
||||||
$("#featureContent").appendTo("header").show();
|
$("#featureContent").appendTo("header").show();
|
||||||
$("#themeHeaderTitle").hide();
|
$("#themeHeaderTitle").hide();
|
||||||
|
|
Loading…
Reference in New Issue