diff --git a/core/layout/common.css b/core/layout/common.css index 254fd481..64ae620d 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -563,9 +563,11 @@ ul .menuSideChild, li .menuSideChild { section { min-height: 450px; } + section #sectionTitle { margin-top: 0; } + .userLogin, .updateForm { min-height: 0px; } @@ -598,6 +600,16 @@ footer { margin: 0; } +.footerbodyFixed { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + z-index:50; + background-color: inherit; + padding: inherit; +} + #footersiteRight, #footersiteLeft, #footersiteCenter, #footerbodyRight, #footerbodyLeft, #footerbodyCenter { vertical-align: middle; diff --git a/core/layout/main.php b/core/layout/main.php index 79f0e187..e233d7e7 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -212,7 +212,10 @@ ) ) { $position = 'site'; } else { $position = 'body'; - echo ''; + if ( $this->getData(['theme', 'footer', 'fixed']) === true) { + $positionFixed = 'footerbodyFixed'; + } + echo ''; } ?> @@ -221,7 +224,7 @@ if ($position === 'site'): ?>