[HACK] Don't hide the nav menu on mobile
This commit is contained in:
parent
5337343dcf
commit
793788f869
@ -26,11 +26,11 @@
|
||||
|
||||
<header id="masthead" class="site-header">
|
||||
<nav id="site-navigation" class="main-navigation">
|
||||
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">
|
||||
<!-- <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">
|
||||
<img class="icon"
|
||||
src="<?php echo get_template_directory_uri() . '/icons/menu.svg'?>"
|
||||
alt="menu">
|
||||
</button>
|
||||
</button> -->
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'menu-1',
|
||||
|
24
style.css
24
style.css
@ -722,7 +722,7 @@ a:hover, a:active {
|
||||
}
|
||||
|
||||
.main-navigation ul {
|
||||
display: none;
|
||||
// display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
@ -767,20 +767,20 @@ a:hover, a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Small menu. */
|
||||
.menu-toggle,
|
||||
.main-navigation.toggled ul {
|
||||
display: block;
|
||||
}
|
||||
// /* Small menu. */
|
||||
// .menu-toggle,
|
||||
// .main-navigation.toggled ul {
|
||||
// display: block;
|
||||
// }
|
||||
|
||||
@media screen and (min-width: 37.5em) {
|
||||
.menu-toggle {
|
||||
// @media screen and (min-width: 37.5em) {
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
.main-navigation ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.main-navigation ul {
|
||||
display: block;
|
||||
}
|
||||
// }
|
||||
|
||||
.site-main .comment-navigation, .site-main
|
||||
.posts-navigation, .site-main
|
||||
|
Loading…
Reference in New Issue
Block a user