From e6c16af9ccece1cd17b2cf0d3e61b4485fb356fc Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Fri, 7 Sep 2018 14:30:59 -0600 Subject: [PATCH] Make the whole top header fixed --- agaric/templates/layout/page.html.twig | 2 ++ .../layout/region--primary-menu.html.twig | 21 ------------------- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 agaric/templates/layout/region--primary-menu.html.twig diff --git a/agaric/templates/layout/page.html.twig b/agaric/templates/layout/page.html.twig index 5e33349..4446b06 100644 --- a/agaric/templates/layout/page.html.twig +++ b/agaric/templates/layout/page.html.twig @@ -3,6 +3,7 @@ {% block navbar %} {% if page.navbar_branding or page.navbar_social or page.primary_menu %} {# Top navbar #} +
+
{% endif %} {% endblock navbar %} diff --git a/agaric/templates/layout/region--primary-menu.html.twig b/agaric/templates/layout/region--primary-menu.html.twig deleted file mode 100644 index 9cc776d..0000000 --- a/agaric/templates/layout/region--primary-menu.html.twig +++ /dev/null @@ -1,21 +0,0 @@ -{# -/** - * @file - * Default theme implementation to display a region. - * - * Available variables: - * - content: The content for this region, typically blocks. - * - attributes: HTML attributes for the region
. - * - region: The name of the region variable as defined in the theme's - * .info.yml file. - * - * @see template_preprocess_region() - * - * @ingroup themeable - */ -#} -{% if content %} -
- {{ content }} -
-{% endif %}