Hi there,
Thanks, I’m able to log in.
Is this http://samverkanmotbrott.se.loopiadns.com/blankettbestallning/ still accessible to your end? Because it freezes my browser. And it uses 4gb of ram, something is wrong with your page. I tried another different browser and it loads, but the problem is it freezes after it loads so I can’t troubleshoot either. Plus, when it loads, it’s different from the screenshot you provided http://samverkanmotbrott.se.loopiadns.com/media.samverkanmotbrott.se/public_html/2017/09/Skärmavbild-2017-09-08-kl.-22.43.29.png.
The question is still the same, is this http://samverkanmotbrott.se.loopiadns.com/blankettbestallning/ the correct URL?
Or maybe, the freezing is caused by ninja form and it doesn’t load at all, hence it’s not the same in my view.
So instead, I created a draft page here http://samverkanmotbrott.se.loopiadns.com/194-2/ and the same issue, the form is not loading at all.
BUT, I think I know why the above javascript isn’t working. Because the form is dynamically generated and that code is executed even before the form is generated.
Please try this one instead,
jQuery( function($) {
function nform_button () {
setTimeout( function() {
$('.nf-previous, .nf-next, .nf-breadcrumbs a').addClass('button x-btn');
}, 1000 );
}
$(document).ready(nform_button);
$(window).load(nform_button);
} );
This is not the best solution, it’s better to contact ninja form support as they may give you multiple workarounds including API or their own javascripts.
Thanks!