Add custom JavaScript

You can add custom JavaScript inside the theme options panel at Advanced → Custom JS. Any code entered here is executed inside the function

1
2
3
jQuery(document).ready(function($) {
    // Your code will be placed here
});
jQuery(document).ready(function($) {
    // Your code will be placed here
});

So the DOM will be ready and you can access the jQuery object with the $ sign.

Still having trouble? Head over to the forums.

Forums