Home › Forums › Support › Back to top button for one page only This topic has 3 replies, 2 voices, and was last updated 4 years, 10 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts May 25, 2019 at 6:16 am #910404 George I want to have the back to top button for one page only. I activate the back to top button from the Customizer and then add this class: body:not(.page-id-1259 a.generate-back-to-top) { display: none; } It doesn’t work, though. Adding the !important rule doesn’t make any difference either. Is there a more elegant solution? May 25, 2019 at 9:20 am #910601 LeoStaff Customer Support Hi there, Give this filter a shot: https://docs.generatepress.com/article/option_generate_settings/#options-%E2%80%98back_to_top%E2%80%99 Let me know ๐ May 25, 2019 at 9:37 am #910611 George Yes Leo, perfect! With the button disabled in the Customizer: add_filter( 'option_generate_settings','gm_remove_back_to_top' ); function gm_remove_back_to_top ( $options ) { if ( is_page( 1259 ) ) { $options['back_to_top'] = 'enable'; } return $options; } I knew there was a solution for that, like always! Cheers! May 25, 2019 at 9:40 am #910614 LeoStaff Customer Support Every option in the customizer should be filter-able ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In