Lifting up of the search page when choose custom attributes.
« on: September 14, 2017, 03:07:32 PM »
The search page lifts up every time I select a custom attribute.

How to remove this function and just leave the page refresh, but without lifting up? It is very inconvinient if there are many custom attributes.

*

MB Themes

Re: Lifting up of the search page when choose custom attributes.
« Reply #1 on: September 14, 2017, 07:27:47 PM »
Theme allows you to disable ajax search. Without moving to top it does not work right.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Lifting up of the search page when choose custom attributes.
« Reply #2 on: September 14, 2017, 08:05:06 PM »
I want to be ajax search but without moving to the top. How can I do this?

*

MB Themes

Re: Lifting up of the search page when choose custom attributes.
« Reply #3 on: September 14, 2017, 08:11:59 PM »
@Eugeniu
In file:
oc-content/themes/veronika/js/global.js

I would say it is this line:
Code: [Select]
$('html, body').animate({ scrollTop: $('#category-navigation').offset().top }, 200);
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Lifting up of the search page when choose custom attributes.
« Reply #4 on: September 14, 2017, 09:10:58 PM »
Sorry, I am not a programmer, could you tell me what to do with this line?

*

MB Themes

Re: Lifting up of the search page when choose custom attributes.
« Reply #5 on: September 14, 2017, 11:23:44 PM »
Remove?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Lifting up of the search page when choose custom attributes.
« Reply #6 on: September 15, 2017, 05:22:53 AM »
I removed and it did not work (as earlier lifts to top)