What's New
You must be logged in to reply to this topic.
Hi,
Can you help me to add border for selected delivery option on checkout?
https://prnt.sc/13lkuld
Hi,
Please add the following code to the “Custom javascript code” under Theme editor > Custom codes:
jQuery(function($){
$(.custom-radio input[type=radio]).on('click', function(){
$('.delivery-options .delivery-option').removeClass('checked');
$(this).closest('.delivery-option').addClass('checked');
});
});
Then add the following code to the “Custom CSS Code”:
.delivery-options .delivery-option.checked{border:2px solid #f00;}
Best regards.
Hi,
I know that.
you gave me JS code on this topic:
https://www.sunnytoo.com/forums/topic/set-id-to-product-tabs/#post-111151
and on this topic:
https://www.sunnytoo.com/forums/topic/border-on-selected-option-checkout/#post-111009
I added them but there is an error.
Hi,
See the video, it works fine on my side: https://drive.google.com/file/d/1vzuTp-B0lAzc4o1l9NgVf5N_GbdTzfMp/view, please clear your browser cache.
Best regards.
You must be logged in to reply to this topic.