Filter: Disable Smooth Scrolling

In Tasty Recipes 3.14, we introduced a feature that allows users to disable smooth scrolling.

When a user clicks on a recipe quick link, the browser smoothly scrolls to the corresponding section of the page.

If you prefer to disable this smooth scrolling effect, simply add the following snippet to your site. This will ensure that the browser scrolls directly to the section without the smooth effect.

To disable the smooth scrolling for your Tasty Recipes, simply add this snippet using the ‘tasty_recipes_smooth_scroll’ filter to your site through WPCode.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support