Test footer fixe marges
This commit is contained in:
parent
22bd4aa037
commit
21c70e7eab
@ -3,6 +3,9 @@
|
||||
## version 10.4.05
|
||||
- Mise à jour :
|
||||
- SiteMapGenerator 4.3.1
|
||||
- Modifications :
|
||||
- Bouton de remontée, position plus haute et zindex augmenté.
|
||||
- Éviter le chevauchement du pied de age fixe au-dessus du corps de page.
|
||||
|
||||
## version 10.4.04
|
||||
- Correction :
|
||||
|
@ -1784,7 +1784,8 @@ class core extends common {
|
||||
$css .= 'footer a{color:' . $this->getData(['theme', 'footer', 'textColor']) . '}';
|
||||
$css .= 'footer #footersite > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||
|
||||
$css .= 'footer #footerbody > div {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||
$css .= 'footer #footerbody {margin:' . $this->getData(['theme', 'footer', 'height']) . ' 0}';
|
||||
$css .= '@media (max-width: 768px) {footer #footerbody > div { padding: 2px }}';
|
||||
$css .= '#footerSocials{text-align:' . $this->getData(['theme', 'footer', 'socialsAlign']) . '}';
|
||||
$css .= '#footerText > p {text-align:' . $this->getData(['theme', 'footer', 'textAlign']) . '}';
|
||||
$css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}';
|
||||
@ -1792,8 +1793,8 @@ class core extends common {
|
||||
// Marge supplémentaire lorsque le pied de page est fixe
|
||||
if ( $this->getData(['theme', 'footer', 'fixed']) === true &&
|
||||
$this->getData(['theme', 'footer', 'position']) === 'body') {
|
||||
$css .= "@media (min-width: 769px) { #site {margin-bottom: 100px;} }";
|
||||
$css .= "@media (max-width: 768px) { #site {margin-bottom: 150px;} }";
|
||||
$css .= '@media (min-width: 769px) { #site {margin-bottom: ' . ((str_replace ('px', '', $this->getData(['theme', 'footer', 'height']) ) * 2 ) + 31 ) . 'px}}';
|
||||
$css .= '@media (max-width: 768px) { #site {margin-bottom: ' . ((str_replace ('px', '', $this->getData(['theme', 'footer', 'height']) ) * 2 ) + 93 ) . 'px}}';
|
||||
}
|
||||
|
||||
// Enregistre la personnalisation
|
||||
|
@ -46,7 +46,7 @@ body {
|
||||
}
|
||||
|
||||
#site {
|
||||
margin: 0px auto;
|
||||
/*margin: 0px auto;*/
|
||||
}
|
||||
|
||||
body>header {
|
||||
|
Loading…
Reference in New Issue
Block a user