How to disable smooth scroll in Bricks

In certain situations like using ScrollSmoother from GreenSock you may be looking to disable smooth scrolling functionality that’s built into Bricks.

To disable Bricks’ smooth scrolling, go to Bricks → Settings → Custom code and add this in the Body (footer) scripts text area:

window.bricksSmoothScroll = () => false


Get full access to all 220+ Bricks tutorials with BricksLabs Pro

Leave the first comment