From 735eb555a5e8ed0357e91d29f0583a6d901841b8 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 24 Sep 2018 18:59:45 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9duction=20taille=20ic=C3=B4ne;=20texte?= =?UTF-8?q?=20personnalis=C3=A9=20en=20haut=20dans=20la=20preview;=20ajout?= =?UTF-8?q?er=20container-large=20dans=20la=20preview=20(=3F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/layout/common.css | 4 ++-- core/module/theme/view/footer/footer.js.php | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/core/layout/common.css b/core/layout/common.css index 714679fe..9ac112fb 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -407,11 +407,11 @@ footer { } footer .col4 { - vertical-align: middle + vertical-align: middle; } footer #footerSocials { - font-size: 1.6em; + font-size: 1.0em; } footer #footerSocials span { color: #FFF; diff --git a/core/module/theme/view/footer/footer.js.php b/core/module/theme/view/footer/footer.js.php index 74835f97..5b6804a7 100755 --- a/core/module/theme/view/footer/footer.js.php +++ b/core/module/theme/view/footer/footer.js.php @@ -22,6 +22,7 @@ $("input, select").on("change", function() { css += "footer a{color:" + textColor + "}"; // Hauteur du pied de page css += "footer .container > div{margin:" + $("#themeFooterHeight").val() + " 0}"; + css += "footer .container-large > div{margin:" + $("#themeFooterHeight").val() + " 0}"; // Alignement du contenu css += "#footerSocials{text-align:" + $("#themeFooterSocialsAlign").val() + "}"; css += "#footerText{text-align:" + $("#themeFooterTextAlign").val() + "}"; @@ -63,16 +64,16 @@ $("#themeFooterTextPosition").on("change",function() { $("#footerText").hide(); break; case 'left': - $("#footerText").show().appendTo("#bodyLeft"); - $("#footerText").show().appendTo("#siteLeft"); + $("#footerText").show().prependTo("#bodyLeft"); + $("#footerText").show().prependTo("#siteLeft"); break; case 'center': - $("#footerText").show().appendTo("#bodyCenter"); - $("#footerText").show().appendTo("#siteCenter"); + $("#footerText").show().prependTo("#bodyCenter"); + $("#footerText").show().prependTo("#siteCenter"); break; case 'right': - $("#footerText").show().appendTo("#bodyRight"); - $("#footerText").show().appendTo("#siteRight"); + $("#footerText").show().prependTo("#bodyRight"); + $("#footerText").show().prependTo("#siteRight"); break; } }).trigger("change");