diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme
index b508d94..ee5fdb8 100644
--- a/core/themes/seven/seven.theme
+++ b/core/themes/seven/seven.theme
@@ -8,6 +8,7 @@
 use Drupal\Component\Utility\Xss;
 use Drupal\Component\Utility\SafeMarkup;
 use Drupal\Core\Form\FormStateInterface;
+use Drupal\Core\Template\Attribute;
 
 /**
  * Implements hook_preprocess_HOOK() for HTML document templates.
@@ -80,6 +81,20 @@ function seven_preprocess_node_add_list(&$variables) {
   }
 }
 
+ /**
+ * Implements hook_preprocess_block() for block content.
+ *
+ * Disables contextual links for all blocks.
+ */
+function seven_preprocess_block(&$variables) {
+  if (isset($variables['title_suffix']['contextual_links'])) {
+    unset($variables['title_suffix']['contextual_links']);
+    unset($variables['elements']['#contextual_links']);
+    $attribute = new Attribute(array('class' => $variables['attributes']['class']));
+    $attribute->removeClass('contextual-region');
+  }
+}
+
 /**
  * Implements hook_preprocess_HOOK() for block content add list templates.
  *
