diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme
index 64ee724..a164dad 100644
--- a/core/themes/seven/seven.theme
+++ b/core/themes/seven/seven.theme
@@ -15,7 +15,7 @@ function seven_preprocess_html(&$variables) {
   $path_args = explode('/', \Drupal::request()->getPathInfo());
   if ($suggestions = theme_get_suggestions($path_args, 'page', '-')) {
     foreach ($suggestions as $suggestion) {
-      if ($suggestion === 'page-node-edit' || strpos($suggestion, 'page-node-add') !== FALSE) {
+      if ($suggestion === 'page--node-edit' || strpos($suggestion, 'page--node-add') !== FALSE) {
         $variables['attributes']['class'][] = 'node-form-layout';
       }
     }
