Here is the CSS I’m using:
.secondary-navigation {
display: none;
}
#generate-section-2 .secondary-navigation {
display: block !important;
}
.site-main .inside-navigation {
margin: 0;
overflow: visible;
}
The PHP (in functions.php in my child theme folder):
function generate_secondary_navigation_shortcode() {
return generate_secondary_navigation_position();
}
add_shortcode( 'generate_secondary_navigation', 'generate_secondary_navigation_shortcode' );
And I pasted this short code into Section #2 on the home page:
[generate_secondary_navigation]