Disabling the "scroll-to-top" button on specific page(s)

Method 1: Using CSS

open the style.css of your child theme and add this CSS code

If you look the above code, you can see that I used .page-id-80. 80 is my page ID. You will replace it with your page ID.

Method 2: Using PHP script

This method is also simple. Open your functions.php file of your child theme and add this PHP script at end of the file.

80 is my page ID. You will replace it with your page ID.

This tutorial will only work on Beaver Theme

Leave a Comment





Newsletter

Get free weekly PRO Beaver Builder Tutorials

shares