[9.2.17] Petites corrections
This commit is contained in:
parent
7cc1f3bfef
commit
de791a977a
@ -1215,7 +1215,8 @@ class core extends common {
|
|||||||
$css .= '#footerText > p {text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
$css .= '#footerText > p {text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
||||||
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
||||||
// Marge supplémentaire lorsque le pied de page est fixe
|
// Marge supplémentaire lorsque le pied de page est fixe
|
||||||
if ( $this->getData(['theme', 'footer', 'fixed']) === true) {
|
if ( $this->getData(['theme', 'footer', 'fixed']) === true &&
|
||||||
|
$this->getData(['theme', 'footer', 'position']) === 'body') {
|
||||||
$css .= "@media (min-width: 769px) { #site {margin-bottom: 100px;} }";
|
$css .= "@media (min-width: 769px) { #site {margin-bottom: 100px;} }";
|
||||||
$css .= "@media (max-width: 768px) { #site {margin-bottom: 150px;} }";
|
$css .= "@media (max-width: 768px) { #site {margin-bottom: 150px;} }";
|
||||||
}
|
}
|
||||||
|
@ -214,7 +214,7 @@ $("#themeFooterPosition").on("change", function() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$("#themeFooterPositionFixed").slideUp(function() {
|
$("#themeFooterPositionFixed").slideUp(function() {
|
||||||
$("#themeFooterPositionFixed").prop("checked", false).trigger("change");
|
$("#themeFooterFixed").prop("checked", false).trigger("change");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}).trigger("change");
|
}).trigger("change");
|
||||||
|
Loading…
Reference in New Issue
Block a user