• If the page has any content above the store locator it is skipped because of the search input field auto focus that makes the page jump to the form. How do I disable the focus?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Kenneth Lev?nen

    (@balle)

    Answering my own questions.

    It can be disabled by adding this to functions.php
    $wpsl_settings['mouse_focus'] = 0;

    Would be nice if that could be done via plugin settings page.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    You can disable the ‘On page load move the mouse cursor to the search field?’ option on the settings page to prevent the page from scrolling down.

    Thread Starter Kenneth Lev?nen

    (@balle)

    Oh, I must be blind. Sorry. I read trough the settings but did not notice that. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable input focus’ is closed to new replies.