We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30741
    • 65 Posts
    I read the documentation but still don’t see this answer -
    With Ajax search, I would like to place the search result in a different Div than the same one that the search box is in.
    I thought that the answer was to just place
    <!--search_terms-->
    In the other box. But that doesn’t seem to work.

    The reason why I want to move the results in the DIV below is that when it searches it makes the div that the search box is in taller, and this in turn pushes down the rest of my site, and makes everything look poor.

    Can someone help me figure this one out?

    In the top screen shot the logo and background is higher than in the 2nd image.
      • 5811
      • 1,717 Posts
      It’s not possible with the current version 1.8.3a. I have registered your feature request as AJAXSEARCH-45
      The reason why I want to move the results in the DIV below is that when it searches it makes the div that the search box is in taller, and this in turn pushes down the rest of my site, and makes everything look poor.
      Nevertheless, I think you could solve your issue by positionning your div with the absolute position. Something like that:

      #ajaxSearch_form {
      position:absolute;
      top: 10px;
      right: 0;
      }

      look at the file documentation/someCssExamples/absolute.css