• Resolved ashleyhayesmccom

    (@ashleyhayesmccom)


    Hi there,

    I’ve spent the last two days troubleshooting this and I’m completely stumped.

    When I install the Give plugin, the mobile (hamburger) menu on the site no longer works as intended, and the menu is open and broken over the page. All other plugins, Themes, and WordPress functions are updated and current. This happens in every browser. The Theme is running on Genesis.

    Am I missing an obvious solution or cause for this problem?

    As a heads up in-case you’re looking at this issue on a later date, I will be deactivating the Give plugin before I leave the office today (to leave the website functioning normally on mobile devices), so this problem will only be visible on this page from now until 5pm Central Standard Time.

    Thank you for your help.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Can you re-enable it today so I can see the problem live? Or do you have a live staging environment where I can see the problem live without affecting the live site?

    Thanks!

    Thread Starter ashleyhayesmccom

    (@ashleyhayesmccom)

    No problem! It is activated once again. I’ll turn it off before I leave (5pm central). Thank you for your help.

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Thanks for that.

    It looks like your theme is using a script that is identical to ours called babel-polyfill This allows us to have better backwards compatibility with older browsers (older than IE11).

    Since it’s causing an issue, you can use this snippet to remove our instance for now:

    function give_mysite_deregister_script() {
    	
    	wp_deregister_script( 'babel-polyfill' );
    	wp_dequeue_script( 'babel-polyfill' );
    
    }
    
    add_action( 'wp_print_scripts', 'give_mysite_deregister_script', 100 );

    If you need guidance implementing custom PHP functions on your website, we have this guide here: https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Let me know how that goes for you. Thanks!

    Thread Starter ashleyhayesmccom

    (@ashleyhayesmccom)

    Thank you SO much! That worked perfectly. I appreciate your help!

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Glad to hear it!

    Also, we just pushed Give 2.3 live. It has a new setting in “Donations > Settings > Advanced” that will allow you to disable that and not have to use the snippet. I’d recommend the following:
    1) Update to Give 2.3
    2) Set that setting
    3) Remove the snippet
    4) Test and confirm it all still works as intended

    That way you know you’ll be good going forward since we’ll support that feature (the snippet might at some point be not the best solution).

    If you’re enjoying Give and appreciate our support, we’d love a kind review from you here:
    https://wordpress.org/support/plugin/give/reviews/

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Breaking Site’s Mobile Menu on Install’ is closed to new replies.