This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*For Elementor Pro User - in Custom CSS tab*/ | |
/*In the custom spinner container widget Custom CSS field */ | |
selector { | |
display:none; | |
} | |
selector i { | |
-webkit-animation: fa-spin 2s infinite linear; | |
animation: fa-spin 2s infinite linear; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.jet-form-builder .select2-container--default .select2-selection--single { | |
height: 50px!important; | |
padding: 10px!important; | |
} | |
.jet-form-builder .select2-container--default .select2-selection--single .select2-selection__arrow { | |
top: 25%; | |
} | |
.jet-form-builder .select2-container--default .select2-selection--single .select2-selection__arrow:after { | |
content: ""; | |
position: absolute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addZeros(time) { | |
if (time < 10) { | |
time = "0" + time; | |
} | |
return time; | |
} | |
//select the datetime field | |
var dateInput = document.querySelectorAll('.jet-form-builder__field.datetime-field'); | |
//get current date | |
var today = new Date(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
init(); | |
$( document ).on( 'jet-filter-content-rendered', function() { | |
setTimeout(function() { | |
init(); | |
$('.jet-filters-pagination__current .jet-filters-pagination__link').attr('aria-pressed', 'true'); | |
}, 1); | |
}); | |
function init(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
$('.jet-ajax-search__submit').on('click',function(){ | |
$('.jet-ajax-search__form').submit(); | |
}) | |
$(".jet-ajax-search__submit").on('keyup', function (e) { | |
if (e.key === 'Enter' || e.keyCode === 13) { | |
$('.jet-ajax-search__form').submit(); | |
} | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
$('.jet-form-builder-file-upload__fields').each(function(index){ | |
let upload = $(this).find('.jet-form-builder-file-upload__input'); | |
$(this).append('<input type="button" class="addfile" value="Choose file"/>'); | |
$(this).append('<label class="labeladdfile">Choose file</label></div>'); | |
let labelAdd = $(this).find('.labeladdfile'); | |
let buttonAdd = $(this).find('.addfile'); | |
let uploadValue = $(this).find('.jet-form-builder-file-upload__files'); | |
upload.css('display','none'); | |
$(this).find('.addfile').click(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
$('.jet-engine-file-upload__fields').each(function(index){ | |
let upload = $(this).find('.jet-engine-file-upload__input'); | |
$(this).append('<input type="button" class="addfile" value="Choose file"/>'); | |
$(this).append('<label class="labeladdfile">Choose file</label></div>'); | |
let labelAdd = $(this).find('.labeladdfile'); | |
let buttonAdd = $(this).find('.addfile'); | |
let uploadValue = $(this).find('.jet-engine-file-upload__value'); | |
$(this).find('.jet-engine-file-upload__input').css('display','none'); | |
$(this).find('.addfile').click(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
$('.jet-form-builder input[type="password"]').each(function(){ | |
let id = $(this).attr('id'); | |
if($(this).length>0){ | |
$(this).closest('div').append(`<label><input class="pass_vis" style="display:none;" type="checkbox" onclick="myFunction('${id}')"><i class="vis-icon fa fa-solid fa-eye"></i></label>`); | |
let offset = ($(this)[0].clientHeight - $('.vis-icon')[0].clientHeight)/2; | |
$(this).closest('div').css('position', 'relative'); | |
$(this).siblings().css({ | |
'position' : 'absolute', | |
'right' : '20px', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
$( document ).ajaxComplete(function() { | |
if (!Cookies.get('woocommerce_items_in_cart')) { | |
$('.empty_message').show(); | |
} else { | |
$('.empty_message').hide(); | |
} | |
}); | |
if (!Cookies.get('woocommerce_items_in_cart')) { | |
$('.empty_message').show(); |
NewerOlder