• Resolved pouyadaraee

    (@pouyadaraee)


    Hello, thanks for your useful plugin. Im using this plugin in my custom theme and i customized the search results with css. But there is a problem that i can`t solve it. The problem is that the results position is not correct. I figured out that the distance from top and left are changed when the width of the page is modified and i could not write a css with static top and left value. But the position is not correct and it needs to go more right and more distance from right. How should i change this formula?
    I know you cant put the results div as a child of search box div because of page builders, and it seems to be the key of this problem but i don`t know how to make this too.
    Thanks a lot.

    • This topic was modified 4 years, 9 months ago by pouyadaraee.
    • This topic was modified 4 years, 9 months ago by pouyadaraee.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hello,

    Something affects the calculation. The formula uses following jQuery function on the search bar to calculate position:
    1. outerHeight()
    2. offset()

    Could you share the URL of the website? I can check it.

    Best
    Damian Góra

    Thread Starter pouyadaraee

    (@pouyadaraee)

    Hello,
    I solved this problem by changing the width of input smaller than <div class=”dgwt-wcas-sf-wrapp”></div> by adding custom css.
    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Having problem with ajax results position’ is closed to new replies.