Positioning the results inside a modal window

[ad_1]

Is there a way to get the search results to position relative to the search form in a modal, or retrigger the positioning after the modal has shown? When calculating the position, it ends up offset to the bottom right considerably. Here is a screenshot illustrating the result position. Ideally I’d like it anchored to the modal window, or even not positioned but just dumped into a div in the modal-dialog since the modal will position automatically. Perhaps there is a method to override the properties for top, left, and width shown in this screenshot using PHP or Javascript? I’m using bootstrap 4.6, with a modal dialog vertically centered if that is helpful.

Thanks in advance, this plugin is great 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer