PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Quick question - fine tuning the scroll to top

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Due to layout changes from mobile - desktop the positional CSS anchor for the scroll to top isn't exactly where I need it.

jQuery('html, body').animate({
scrollTop: jQuery(".flexy_anchor").offset().top
}, 777);

 

works but is there a way to offset the function + or - X pixels from the target anchor?

Hello

please  try this  code:

jQuery('html, body').animate({
scrollTop: jQuery(".flexy_anchor").offset().top + 100
}, 777);

Thank you sir

Welcome;)