From 81f4ef0cf9a552544acce37482858139af28a75c Mon Sep 17 00:00:00 2001 From: Philipp Seibt Date: Mon, 13 Dec 2021 13:38:07 +0100 Subject: [PATCH] bugfix for header image and megamenu --- CHANGELOG.md | 4 ++++ src/Module/NatureThemeSetup.php | 2 +- .../contao/templates/frontend/fe_page_nature.html5 | 2 +- src/Resources/public/scss/parts/header.scss | 14 ++++++++++++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ba6da5..7f0540f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.7.2](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.7.2) – 2021-12-13 + +- [fix] bufixes for header image and megamenu + ## [1.7.1](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.7.1) – 2021-12-03 - [fix] update social feed template diff --git a/src/Module/NatureThemeSetup.php b/src/Module/NatureThemeSetup.php index 06b67c8..f00e94a 100644 --- a/src/Module/NatureThemeSetup.php +++ b/src/Module/NatureThemeSetup.php @@ -4,7 +4,7 @@ class NatureThemeSetup extends \BackendModule { - const VERSION = '1.7.1'; + const VERSION = '1.7.2'; protected $strTemplate = 'be_naturetheme_setup'; diff --git a/src/Resources/contao/templates/frontend/fe_page_nature.html5 b/src/Resources/contao/templates/frontend/fe_page_nature.html5 index 1b68cd3..204e7d1 100644 --- a/src/Resources/contao/templates/frontend/fe_page_nature.html5 +++ b/src/Resources/contao/templates/frontend/fe_page_nature.html5 @@ -14,7 +14,7 @@ - '; ?> + '; ?> diff --git a/src/Resources/public/scss/parts/header.scss b/src/Resources/public/scss/parts/header.scss index e1f7511..b271484 100644 --- a/src/Resources/public/scss/parts/header.scss +++ b/src/Resources/public/scss/parts/header.scss @@ -397,8 +397,14 @@ padding-top: 160px; } - .header-image .image_container { - height: 620px; + .header-image { + .image_container { + height: 620px; + } + + &.large-headerimage .image_container { + height: 820px; + } } .mod_navigation.navbar { @@ -418,5 +424,9 @@ padding: 0; } } + + .megamenu .navbar-item .navbar-dropdown.level_2 { + margin-top: -25px; + } } }