Dynamically changing logo on scroll function [closed]

I’m assuming the file you’re trying to display is located in your theme folder. You can use get_template_directory_uri to get the path of your currently activated theme’s root folder. If you’re looking to support child themes get_stylesheet_directory_uri() will look in the currently activated child theme’s folder if a child theme is in use. If you … Read more

Twenty seventeen theme dropdown menu issue

The solution is usually I use this to call the menu <?php wp_nav_menu( array( ‘theme_location’ => ‘top’, ‘menu_class’ => ‘nav-menu’, ‘fallback_cb’ => ‘tie_nav_fallback’ ) ); ?> with my HTML staff till twenty twelve if I remember but the new in seventeen that I should call the menu inside <div class=”main-navigation”>