Site scrolls down after entering a search phrase

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Site scrolls down after entering a search phrase

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4669
    Stefan
    Stefan
    Participant

    Hi!

    Password to see the site: wien

    My issue:
    On my testsite, I enabled compact search box. So when I enter a word and the result or the “nothing found” box appears, the whole page scroll down a little bit.

    Please notify me about changes you are going to make.

    Thanks!

    Stefan

    #4670
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Stefan!

    The Sroll the window to the result list? option was active on the Layout Options -> Results behavior panel, that caused the problem. Luckily I didn’t have to modify anything, but for the upcoming version I’ll add an exception to the code to ignore this option in compact mode.

    Plus I noticed that the checkboxes in the settings dropdown were overwritten by the theme CSS so I added this custom CSS to the search Custom CSS panel to slolve this problem:

    
    .searchsettings .option label:before {
      display: none !important;
    }
    
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.