• Resolved nicoharmony

    (@nicoharmony)


    Hi, i just have a question,

    I would like to be able to modify the scrolling area. because here, my menu goes in front of the categories,

    When I click in a category, I would like the anchoring to be done on the name of the category (after my menu, currently, it goes below)

    thank you in advance

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WP Scripts

    (@wpscripts)

    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.

    https://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

    Thread Starter nicoharmony

    (@nicoharmony)

    Absolutly perfect ! thx you so much for your great work and reactivity !

    Plugin Author WP Scripts

    (@wpscripts)

    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

    Thread Starter nicoharmony

    (@nicoharmony)

    Hi, now, your plugin dont work.

    https://doron-restaurants.fr/livraison-et-emporte/

    New version ?
    my error is on wfs on 56

    an idea ?

    Plugin Author WP Scripts

    (@wpscripts)

    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

    Thread Starter nicoharmony

    (@nicoharmony)

    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

    Plugin Author WP Scripts

    (@wpscripts)

    https://prntscr.com/z24yhu

    Line should be this,

    scrollTop: $("#" + category + "_start").offset().top - wfs_script.scroll_offset

    regards,
    team wp scripts

    Thread Starter nicoharmony

    (@nicoharmony)

    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/

    Plugin Author WP Scripts

    (@wpscripts)

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘automatic scroll’ is closed to new replies.