• Resolved Shravan

    (@shravanbhavyata)


    The custom amount option in GiveWp donation form is not working for the mobile version of the website but it works perfectly fine for the desktop version. When clicked it gets stuck and no custom amount container is visible as one in the desktop version. I tried disabling the recent plugins added. And also tried opting out the options used for the minification of JS and CSS files via the optimization plugin. But still, the problem remains the same. Please help me out through this.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi @shravanbhavyata,

    The amount box is supposed to be visible at all times but the theme is loading a script that’s hiding it: https://bhavyata.com/wp-content/themes/kunco/js/main.js?ver=5.7.2

    I suggest you reach out to the theme author(s) to let them know about the issue. For UX, I suggest that the amount box be visible at all times.

    Thread Starter Shravan

    (@shravanbhavyata)

    Hey!

    Our support for the theme is been expired. We can’t have access to the theme author anymore.

    Is there anything else we can try to overcome this issue?

    As the site is live and this issue needs to be solved asap!!

    Plugin Support Rick Alday

    (@mrdaro)

    You can remove the problematic code from the JS file: https://bhavyata.com/wp-content/themes/kunco/js/main.js

    The code you need to remove is this:

    $('.give-form-type-multi').each( function(){
        var $this = this; 
        $('.give-total-wrap', this).hide();
        $('.give-donation-level-btn', this).on( 'click', function(){
          if( $(this).hasClass('give-btn-level-custom') ){
            $('.give-total-wrap', $this).show();
          }else {
            $('.give-total-wrap', $this).hide();
          }
        });
      });
    

    Please this on a staging site first to test this thoroughly as we won’t be able to help you debug any code changes.

    Thread Starter Shravan

    (@shravanbhavyata)

    It was a great help thank you!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My custom amount option is not working’ is closed to new replies.