4f81f235 by Jeff Balicki

menu fix

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent f14c060f
...@@ -14292,7 +14292,7 @@ html, body { ...@@ -14292,7 +14292,7 @@ html, body {
14292 14292
14293 body { 14293 body {
14294 overflow-x: hidden; 14294 overflow-x: hidden;
14295 overflow-y: scroll !important; 14295 overflow-y: hidden !important;
14296 } 14296 }
14297 14297
14298 .home.page-template-default #main-nav { 14298 .home.page-template-default #main-nav {
...@@ -14487,6 +14487,13 @@ h1 + p, .h1 + p { ...@@ -14487,6 +14487,13 @@ h1 + p, .h1 + p {
14487 transform: translateY(-11px) rotate(-45deg); 14487 transform: translateY(-11px) rotate(-45deg);
14488 } 14488 }
14489 14489
14490 .side-menu {
14491 overflow-y: auto;
14492 overflow-x: hidden;
14493 height: 100%;
14494 width: 90%;
14495 }
14496
14490 #main-menu { 14497 #main-menu {
14491 flex-direction: column; 14498 flex-direction: column;
14492 } 14499 }
...@@ -14515,7 +14522,8 @@ h1 + p, .h1 + p { ...@@ -14515,7 +14522,8 @@ h1 + p, .h1 + p {
14515 flex-basis: 100%; 14522 flex-basis: 100%;
14516 display: flex !important; 14523 display: flex !important;
14517 align-items: flex-start; 14524 align-items: flex-start;
14518 margin-top: 70px; 14525 margin-top: 20px;
14526 margin-bottom: 20px;
14519 } 14527 }
14520 #main-nav .container .navbar-collapse a { 14528 #main-nav .container .navbar-collapse a {
14521 text-decoration: none; 14529 text-decoration: none;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -24,7 +24,7 @@ $container = get_theme_mod( 'understrap_container_type' ); ...@@ -24,7 +24,7 @@ $container = get_theme_mod( 'understrap_container_type' );
24 <!-- Your site branding in the menu --> 24 <!-- Your site branding in the menu -->
25 <?php get_template_part( 'global-templates/navbar-branding' ); ?> 25 <?php get_template_part( 'global-templates/navbar-branding' ); ?>
26 26
27 27 <div class="side-menu">
28 28
29 <!-- The WordPress Menu goes here --> 29 <!-- The WordPress Menu goes here -->
30 <?php 30 <?php
...@@ -33,7 +33,7 @@ $container = get_theme_mod( 'understrap_container_type' ); ...@@ -33,7 +33,7 @@ $container = get_theme_mod( 'understrap_container_type' );
33 'theme_location' => 'primary', 33 'theme_location' => 'primary',
34 'container_class' => 'collapse navbar-collapse show', 34 'container_class' => 'collapse navbar-collapse show',
35 'container_id' => 'navbarNavDropdown', 35 'container_id' => 'navbarNavDropdown',
36 'menu_class' => 'navbar-nav ms-auto', 36 'menu_class' => 'navbar-nav',
37 'fallback_cb' => '', 37 'fallback_cb' => '',
38 'menu_id' => 'main-menu', 38 'menu_id' => 'main-menu',
39 'depth' => 0, 39 'depth' => 0,
...@@ -42,6 +42,6 @@ $container = get_theme_mod( 'understrap_container_type' ); ...@@ -42,6 +42,6 @@ $container = get_theme_mod( 'understrap_container_type' );
42 ); 42 );
43 ?> 43 ?>
44 <?php echo do_shortcode('[ultimatemember form_id="6"]'); ?> 44 <?php echo do_shortcode('[ultimatemember form_id="6"]'); ?>
45 </div>
45 </div><!-- .container(-fluid) --> 46 </div><!-- .container(-fluid) -->
46
47 </nav><!-- #main-nav --> 47 </nav><!-- #main-nav -->
......
...@@ -3,7 +3,7 @@ html, body { ...@@ -3,7 +3,7 @@ html, body {
3 } 3 }
4 body { 4 body {
5 overflow-x: hidden; 5 overflow-x: hidden;
6 overflow-y: scroll !important; 6 overflow-y: hidden !important;
7 } 7 }
8 8
9 .home.page-template-default { 9 .home.page-template-default {
......
...@@ -68,6 +68,12 @@ ...@@ -68,6 +68,12 @@
68 transform: translateY(-11px) rotate(-45deg); 68 transform: translateY(-11px) rotate(-45deg);
69 } 69 }
70 } 70 }
71 .side-menu{
72 overflow-y: auto;
73 overflow-x: hidden;
74 height: 100%;
75 width: 90%;
76 }
71 77
72 78
73 #main-menu{ 79 #main-menu{
...@@ -93,7 +99,8 @@ ...@@ -93,7 +99,8 @@
93 flex-basis: 100%; 99 flex-basis: 100%;
94 display: flex!important; 100 display: flex!important;
95 align-items: flex-start; 101 align-items: flex-start;
96 margin-top: 70px; 102 margin-top: 20px;
103 margin-bottom: 20px;
97 a{ 104 a{
98 text-decoration: none; 105 text-decoration: none;
99 color: #000000; 106 color: #000000;
...@@ -105,7 +112,7 @@ ...@@ -105,7 +112,7 @@
105 } 112 }
106 } 113 }
107 } 114 }
108 115
109 .um-login:not(.um-logout){ 116 .um-login:not(.um-logout){
110 display: none !important; 117 display: none !important;
111 } 118 }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 Author: the Understrap Contributors 5 Author: the Understrap Contributors
6 Author URI: https://github.com/understrap/understrap-child/graphs/contributors 6 Author URI: https://github.com/understrap/understrap-child/graphs/contributors
7 Template: understrap 7 Template: understrap
8 Version: 1.2.0057 8 Version: 1.2.0058
9 License: GNU General Public License v2 or later 9 License: GNU General Public License v2 or later
10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 Text Domain: understrap-child 11 Text Domain: understrap-child
......