Hello @nicoharmony
Thank you for reaching out. As you have a sticky bar enabled, your category heading just getting hidden under that. I am going to provide a temporary solution for this,
Please edit the plugin via plugin editor or ftp, and go to food-store/assets/js/frontend/wfs.js and add “-100” at the end on line number 56.
http://prntscr.com/xptzm6
On next version we’ll replace that 100 with a proper variable, so that it can be permanently fixed. After updating to latest version you are going to face same issue again, so please remind us again here and we’ll provide you a permanent solution.
Thanks & Regards,
Team WP Scripts
Absolutly perfect ! thx you so much for your great work and reactivity !
Thank you for your update.
Here is the function that you need to put in the functions.php of your currently active theme. This will make your site ready for future version of food store.
function custom_offset_value( $offset ) {
return 100;
}
add_filter( 'wfs_scroll_top_offset', 'custom_offset_value',20 );
Please review the plugin if you like it and our support.
Thanks & Regards,
Team WP Scripts
Hi, now, your plugin dont work.
https://doron-restaurants.fr/livraison-et-emporte/
New version ?
my error is on wfs on 56
an idea ?
Hello @nicoharmony
If you have update the plugin after our last conversation, please add the above code in the functions.php of your activated theme.
Also, clear the cache once and check the server cache in cPanel settings, those things also restrict functionalities in some scenarios.
Thanks & Regards,
Team WP Scripts
The code in the function.php is interegrated.
but dont work… :/
in my code 56 > 58 :
scrollTop: $(“#” + category + “_start”).offset().top – 100 wfs_script.scroll_offset
}, 350);
});
thx per advance
http://prntscr.com/z24yhu
Line should be this,
scrollTop: $("#" + category + "_start").offset().top - wfs_script.scroll_offset
regards,
team wp scripts
Nop, doesnt work :/
scrollTop: $(“#” + category + “_start”).offset().top – wfs_script.scroll_offset }, 350);
with and without }, 350);
Can you check on my website ?
https://doron-restaurants.fr/livraison-et-emporte/
Updated. Please remove the logins or update the password.
Consider giving us a review if you like our plugin and support.
Thanks & Regards,
Team WP Scripts