Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Advanced Accordion
  6. How to disable scroll behavior in the Advanced Accordion module?

How to disable scroll behavior in the Advanced Accordion module?

The Advanced Accordion module has the feature to scroll the page to view the current active item of the accordion.

You can disable the scroll effect by adding the following code to the functions.php file that is located in your current theme’s folder.

add_filter( 'pp_advanced_accordion_scroll_animation', '__return_false' );

Once done, clear all the caches and try using the filters again.

Still facing the issue then please contact us.

Was this article helpful to you? Yes 2 No 1
×