Hi there,
You could deactivate our Navigation Search, then do this to add a menu item with the SVG to your menu:
add_filter( 'wp_nav_menu_items', function( $items, $args ) {
if ( isset( $args->theme_location ) && 'primary' === $args->theme_location ) {
return sprintf(
'%1$s<li class="open-search-page"><a aria-label="%2$s" href="URL TO YOUR SEARCH PAGE HERE">%3$s</a></li>',
$items,
esc_attr__( 'Open Search', 'generatepress' ),
generate_get_svg_icon( 'search', true )
);
}
return $items;
}, 10, 2 );