Comments 4Matt started the conversationDecember 3, 2023 at 3:51pmfor example, I would like to enable smooth scrolling only on the showcase gallery page, but have it disabled everywhere else. Is there custom css I can add to make this happen? same applies to the magic cursor I would like to enable only on the showcase gallery but turn it off elsewhere. Thanks so much! 2,006Support repliedDecember 4, 2023 at 8:25amHello Matt,If you know the page id you can open /include/hooks-config.php and replace line 16 fromif( serano_get_theme_options( 'clapat_serano_enable_smooth_scrolling' ) ){toif( is_page(42) && serano_get_theme_options( 'clapat_serano_enable_smooth_scrolling' ) ){same with line 31if( !serano_get_theme_options( 'clapat_serano_enable_magic_cursor' ) ){toif( is_page(42) && !serano_get_theme_options( 'clapat_serano_enable_magic_cursor' ) ){https://developer.wordpress.org/reference/functions/is_page/Thank you. Clapat Support Review Envato Item Support Policy Follow us! https://www.clapat.com/https://www.facebook.com/clapat.ro https://www.instagram.com/clapat.themes/https://x.com/clapatdesignhttps://www.linkedin.com/company/clapatstudiohttps://www.tiktok.com/@clapatstudio 4Matt repliedDecember 6, 2023 at 2:21pmThank you guys so much!! Amazing support!! =) Happy Holidays to you and the team!! 1 Like 2,006Support repliedDecember 6, 2023 at 2:34pmThank you Matt and Happy Holidays to you and your loved ones!Thank you. Clapat Support Review Envato Item Support Policy Follow us! https://www.clapat.com/https://www.facebook.com/clapat.ro https://www.instagram.com/clapat.themes/https://x.com/clapatdesignhttps://www.linkedin.com/company/clapatstudiohttps://www.tiktok.com/@clapatstudio Sign in to reply ...
for example, I would like to enable smooth scrolling only on the showcase gallery page, but have it disabled everywhere else.
Is there custom css I can add to make this happen?
same applies to the magic cursor I would like to enable only on the showcase gallery but turn it off elsewhere.
Thanks so much!
Hello Matt,
If you know the page id you can open /include/hooks-config.php and replace line 16 from
if( serano_get_theme_options( 'clapat_serano_enable_smooth_scrolling' ) ){
to
if( is_page(42) && serano_get_theme_options( 'clapat_serano_enable_smooth_scrolling' ) ){
same with line 31
if( !serano_get_theme_options( 'clapat_serano_enable_magic_cursor' ) ){
to
if( is_page(42) && !serano_get_theme_options( 'clapat_serano_enable_magic_cursor' ) ){
https://developer.wordpress.org/reference/functions/is_page/
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Thank you guys so much!! Amazing support!! =) Happy Holidays to you and the team!!
Thank you Matt and Happy Holidays to you and your loved ones!
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio