diff --git a/src/ConfigPagesTypeForm.php b/src/ConfigPagesTypeForm.php
index 1e3d24b..68e0e77 100644
--- a/src/ConfigPagesTypeForm.php
+++ b/src/ConfigPagesTypeForm.php
@@ -166,6 +166,20 @@ class ConfigPagesTypeForm extends EntityForm {
       '#default_value' => $default_options,
       '#required' => FALSE,
     ];
+    $form['context']['fallback_text'] = [
+      '#prefix' => '<h2>',
+      '#suffix' => '</h2>',
+      '#markup' => t('Fallback for contexts'),
+    ];
+    foreach ($options as $contextId => $contextLabel) {
+      $form['context']['fallback'][$contextId] = [
+        '#type' => 'textfield',
+        '#title' => $contextLabel,
+        '#description' => t('Value that the context is going to have when no config page is found for the current context'),
+        '#default_value' => empty($config_pages_type->context['fallback'][$contextId]) ? '' : $config_pages_type->context['fallback'][$contextId],
+        '#required' => FALSE,
+      ];
+    }
 
     return $form;
   }
diff --git a/src/Entity/ConfigPages.php b/src/Entity/ConfigPages.php
index a730df4..ff470d8 100644
--- a/src/Entity/ConfigPages.php
+++ b/src/Entity/ConfigPages.php
@@ -193,6 +193,14 @@ class ConfigPages extends ContentEntityBase implements ConfigPagesInterface {
         ->loadByProperties($conditions);
     }
 
+    // Try to get the fallback config page.
+    if (!$list && $context == NULL) {
+      $conditions['context'] = $type->getContextData(TRUE);;
+      $list = \Drupal::entityTypeManager()
+        ->getStorage('config_pages')
+        ->loadByProperties($conditions);
+    }
+
     return $list ? current($list) : NULL;
   }
 
diff --git a/src/Entity/ConfigPagesType.php b/src/Entity/ConfigPagesType.php
index 44505e8..4730d6c 100644
--- a/src/Entity/ConfigPagesType.php
+++ b/src/Entity/ConfigPagesType.php
@@ -100,13 +100,18 @@ class ConfigPagesType extends ConfigEntityBundleBase implements ConfigPagesTypeI
    * @return string
    *   Return context data.
    */
-  public function getContextData() {
+  public function getContextData($fallback = FALSE) {
     $contextData = [];
     if (!empty($this->context['group'])) {
       foreach ($this->context['group'] as $context_id => $context_enabled) {
         if ($context_enabled) {
           $item = $this->config_pages_context->createInstance($context_id);
-          $context_value = $item->getValue();
+          if ($fallback && !empty($this->context['fallback'][$context_id])) {
+            $context_value = $this->context['fallback'][$context_id];
+          }
+          else {
+            $context_value = $item->getValue();
+          }
           $contextData[] = [$context_id => $context_value];
         }
       }
