if body has this class, insertafter this
var notifBox = $('.notif'), header = $('.header'), trxBox = $('.trx'); if ($('body').hasClass('page-property-detail')) { $(notifBox).insertAfter(header); $(trxBox).hide(); }
Move element after other element
$('.forum-how-it-works').insertAfter('.container.m-b-25');