Moesia
Fix Mobile Menu
Due to a CSS conflict, the mobile menu will expand the first level of sub menus by default. To fix the conflict, add the following to your child themes functions.php file:
Important: The following is PHP code, making a mistake can cause an error on your site. Double check the code you have pasted is identical to what is displayed below before saving any changes.
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33  | 
						function moesia_nav_bar() { 	echo '<div class="top-bar"> 			<div class="container"> 				<div class="site-branding col-md-4">'; 				if ( get_theme_mod('site_logo') ) : 					echo '<a href="' . esc_url( home_url( '/' ) ) . '" title="'; 						bloginfo('name'); 					echo '"><img class="site-logo" src="' . esc_url(get_theme_mod('site_logo')) . '" alt="'; 						bloginfo('name'); 					echo '" /></a>'; 				else : 					echo '<h1 class="site-title"><a href="' . esc_url( home_url( '/' ) ) . '" rel="home">'; 						bloginfo( 'name' ); 					echo '</a></h1>'; 					echo '<h2 class="site-description">'; 						bloginfo( 'description' ); 					echo '</h2>'; 				endif; 			echo '</div>'; 			echo '<nav id="site-navigation" class="col-md-8" role="navigation">'; 				wp_nav_menu( array( 'theme_location' => 'primary' ) ); 			echo '</nav>'; 			if ( get_theme_mod('toggle_search', 0) ) : 				echo '<span class="nav-search"><i class="fa fa-search"></i></span>'; 				echo '<span class="nav-deco"></span>'; 				echo '<div class="nav-search-box">'; 					get_search_form(); 				echo '</div>'; 			endif; 		echo '</div>'; 	echo '</div>'; }  |