diff --git a/themes/bs_bootstrap/sass/layout/partials/_footer.scss b/themes/bs_bootstrap/sass/layout/partials/_footer.scss
index b3ce6d6..1f76621 100644
--- a/themes/bs_bootstrap/sass/layout/partials/_footer.scss
+++ b/themes/bs_bootstrap/sass/layout/partials/_footer.scss
@@ -28,12 +28,13 @@
     }
   }
 
+  .region {
+    // Compensate child blocks bottom margin.
+    margin-bottom: -$block-spacer-y;
+  }
+
   .block {
     margin-bottom: $block-spacer-y;
-
-    &__title {
-      margin-top: 0;
-    }
   }
 
   &__content {
@@ -43,8 +44,6 @@
     @if $footer-spacer-y {
       padding-top: $footer-spacer-y;
       padding-bottom: $footer-spacer-y;
-      // Compensate child block bottom margin for bottom blocks.
-      margin-bottom: -$block-spacer-y;
     }
 
     .region {
@@ -65,6 +64,10 @@
 
       // Support scroll to top block layout.
       &-bs-lib-scroll-to-top-block {
+        // Reset bottom margin so we are sure height is zero for this block
+        // on bigger screens where it is hidden.
+        margin-bottom: 0;
+
         @include media-responsive-breakpoint-down() {
           position: absolute;
           top: 0;
