• Thanks for this great plugin, Dave!
    Instead of having the results appear in a scrollable/absolute positioned element, I would like them to simply appear below the search container, relatively positioned so that the user can click out of the search container (this is especially important for mobile) and scroll down the page to see the results.
    Right now the results element is being placed as the very last element in the body, but is there a way to have the results area moved to a custom location?
    I looked inside of the plugin files but could not figure out how to make this change.
    Thanks for your help!

    https://www.ads-software.com/plugins/daves-wordpress-live-search/

Viewing 1 replies (of 1 total)
  • Plugin Author Dana Ross

    (@csixty4)

    Hi Nathan,

    I just put the latest version of DWLS up on GitHub at https://github.com/daveross/dwlstng and would love a pull request if you have any better ways to make this work.

    I’d love to make the positioning work differently, but this is the only way I’ve found that’ll work with the majority of themes. I can’t depend on the search box being statically or even relatively positioned, and I definitely can’t assume none of its parents have been absolutely positioned. This way feels so ridiculously complicated though, when it’s something that could easily be done in a couple lines of CSS.

    – Dave

Viewing 1 replies (of 1 total)
  • The topic ‘Display results without absolute positioning’ is closed to new replies.