Reply To: JavaScript Error preventing Gravity Form function

Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) JavaScript Error preventing Gravity Form function Reply To: JavaScript Error preventing Gravity Form function

#22302
Pete Ciliberto
Participant

Thanks for the response. I am not proficient in HTML code. Can you show me where I need to load of bootstrap before that file? And also where I need to load file providing jquery and celestial-bootstrap-js as dependency?

I can access my File Manager and use the text editor to modify and save the code. However, I am not certain of precisely where to enter the code you have provided.

I have located the file and here is the code found in that file the the Google developer tools is saying there is an error:

// lets add some bootstrap styling to WordPress elements

jQuery(function($){
$( ‘table’ ).addClass( ‘table’ );
$( ‘#submit’ ).addClass( ‘btn btn-primary btn-small’ );
$( ‘#wp-calendar’ ).addClass( ‘table table-striped table-bordered’ );

// Bootstrap plugins
$( ‘#content [rel=”tooltip”]’ ).tooltip();
$( ‘#content [rel=”popover”]’ ).popover();
$( ‘.alert’ ).alert();
$( ‘.carousel-inner figure:first-child’ ).addClass( ‘active’ );
$( ‘.carousel’ ).carousel();

Is this the file where I am adding the lines of code indicated by you. If so, can you show me exactly where to enter them by modifying the code above?

Thanks.