Viewing 1 replies (of 1 total)
  • Your theme use AJAX?
    if its so, then you have to do this:

    In the main JS file of your plugin (scripts.js), replace the main AJAX call with a function, i.e.

    Replace this:

    jQuery(function($) {
    PLUGIN CODE HERE
    });

    With this:

    jQuery(function($) { MyNewFuncntion(); });
    
    function MyNewFunction() {
    PLUGIN CODE HERE
    }

    Then in the theme’s main.js search for the function pageLoaded() and near the end of the function call your MyNewFunction(); i.e.

    function pageLoaded() {
    EXISTING CODE HERE
    MyNewFunction();
    }

    I hope this helps somebody…

Viewing 1 replies (of 1 total)
  • The topic ‘Contact Page loses styling after submit’ is closed to new replies.