Mobile panel problem i waana make him like i want

This topic has 5 replies, 2 voices, and was last updated 22 minutes ago ago by Anurag

  • Avatar: Anurag
    Anurag
    Participant
    March 18, 2025 at 07:27

    basically it always appears there i wanna make him like it dissaper when someone scrolling website downwars and appear when he scrool upward

    Files is visible for topic creator and
    support staff only.
    4 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    March 18, 2025 at 09:42

    Dear Anurag,

    You can utilize the code snippet plugins to integrate the following custom JavaScript code into your website:

    
    var mywindow = $(window);
    var mypos = mywindow.scrollTop();
    var up = false;
    var newscroll;
    mywindow.scroll(function () {
        newscroll = mywindow.scrollTop();
        if (newscroll > mypos && !up) {
            $('.et-mobile-panel-wrapper').stop().slideToggle();
            up = !up;
            console.log(up);
        } else if(newscroll < mypos && up) {
            $('.et-mobile-panel-wrapper').stop().slideToggle();
            up = !up;
        }
        mypos = newscroll;
    });
    

    We hope this helps! Please feel free to reach out if you need any further assistance.

    Best regards,
    8Theme Team

    Avatar: Anurag
    Anurag
    Participant
    March 18, 2025 at 10:25

    where i have to paste this

    Avatar: Justin
    Luca Rossi
    Support staff
    March 18, 2025 at 10:39

    Hi @Anurag,

    You can try with this plugin: https://wordpress.org/plugins/insert-headers-and-footers/.

    Best Regards,
    8Theme’s Team

    Avatar: Anurag
    Anurag
    Participant
    March 18, 2025 at 10:53

    you did this thing on desktop i want this on mobile and also i dont wanna show this on desktop

    Files is visible for topic creator and
    support staff only.
  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.