A. I don’t think it is possible.
B. Use the below method to do it –
1. Create a custom template using Elementor under Theme Panel > My Library. Use only Search Icon widget in this template and copy the template shortcode
2. Now add the below code to the functions.php file of the child theme to display it. Replace the template shortcode with your copied template shortcode in the code –
function prefix_mobile_menu_search_icon() {
echo do_shortcode( '[oceanwp_library id="307"]' );
}
add_action('ocean_before_mobile_icon_inner','prefix_mobile_menu_search_icon');
3. Try using the below CSS code. After adding the code, test it on a live page. Change the Elementor id (18262) with your section id. You can check it on inspecting the page –
@media only screen and (max-width: 959px) {
body.default-breakpoint .oceanwp-mobile-menu-icon {
display: flex;
}
}
.elementor.elementor-18262 {
margin-top: -8px;
}