Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › try this function caused a problem › Reply To: try this function caused a problem
July 10, 2017 at 2:39 pm
#13916
Hi,
Okay, I was able to re-create it after a few page refreshes. It’s probably because the menu script does not calculate the inner height properly after the scrolling occurs, it’s hard to tell. Whenever the search is ‘opened’, the scrolling seems correct, so that might confirm my theory.
This is something that probably should be fixed within the menu script, but there is something worth trying. Try this custom CSS rule:
#asp-try-3_1,
#asp-try-3_2 {
display: none;
}
This will make sure to hide the ‘try these’ element on page load, and perhaps the menu script does not miscalculate it’s height.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)