Plugin Author
ILLID
(@mihail-barinov)
Hello,
Looks like the problem here is in your theme layout for mobile search. It is different from desktop version.
You are talking about search form that displayes inside mobile sidebar?
Also please tell me how you add plugin search form on your site? Do you use ‘seamless integration’ option? And please tell me the name of your WordPress theme.
Regards
Hello,
yes the issue is on mobile sidebar and we do are using the “seamless integration” option. We have on our main page a shortcut for mobiles, but the sidebar and menu search buttons are using the integration.
Lastly, we are using OceanWP as our theme.
Thank you
Plugin Author
ILLID
(@mihail-barinov)
Please add following code snippet
add_filter( 'aws_js_seamless_selectors', 'my_aws_js_seamless_selectors' );
function my_aws_js_seamless_selectors( $selectors ) {
$selectors[] = '#sidr .sidr-class-mobile-searchform';
return $selectors;
}
Also for better styling please add following css
#sidr .aws-container {
margin: 30px 20px 0;
}
Thank you so much, it works perfectly!.
We appreciate all your support, have a wonderful day.