diff --git a/core/layout/common.css b/core/layout/common.css index 51ac7327..8446c098 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -498,11 +498,17 @@ header .container { height: 100%; } -/* Marges au cotneu de la bannière personnalisée */ +/* Marges au cotenu de la bannière personnalisée */ header:not(.container) #featureContent { margin: 0 10px; } +header #featureContent { + overflow: hidden; +} + + + /* Element du header #themeHeaderImage { diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php index e94c5988..3202464a 100644 --- a/core/module/theme/view/header/header.js.php +++ b/core/module/theme/view/header/header.js.php @@ -30,7 +30,7 @@ $("input, select").on("change", function() { if (headerHeight === 'none') { css = "header{height:unset; background-position:top; background-repeat: no-repeat;;line-height:1.15;background-color:unset;;background-image:unset;text-align:unset}"; } else { - css = "header{height:" + $("#themeHeaderHeight").val() + ";background-position:top; background-repeat: no-repeat;;line-height:1.15;background-color:unset;;background-image:unset;text-align:unset}"; + 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}"; } $("#featureContent").appendTo("header").show();