/** * Functionality specific to Roudra * * Provides helper functions to enhance the theme experience. */ jQuery(document).ready(function($) { if( $('.pre-agency-4-setup').length > 0 ) { $('.ibanner').removeClass('nxs-semitrans').removeClass('nxs-shadow').addClass('nxs-gradient nxs-center'); $('#da-slider').data('slider-height', '72'); $('#da-slider').data('slider-reduct', '32'); $(".slider-content-wrap").css("background", "linear-gradient(308deg, rgba(231,14,119,0.88) 0%, rgba(20,165,250,0.93) 100%)"); $(".da-img::after").css("background", "transparent"); $('img.normal-logo').each(function() { var agency4_logo_normal_url = $(this).attr('src'); var agency4_logo_normal_url = agency4_url+'/images/logo-black.png'; $(this).attr('src', $(this).attr('src').replace(agency4_logo_normal_url, agency4_logo_normal_url)); }); $('img.trans-logo').each(function() { var agency4_logo_trans_url = $(this).attr('src'); var agency4_logo_trans_url = agency4_url+'/images/logo-white.png'; $(this).attr('src', $(this).attr('src').replace(agency4_logo_trans_url, agency4_logo_trans_url)); }); } });