![How to Show Product Discounts in Single Product Template with Breakdance Page Builder 4 How to Show Product Discounts with Breakdance Page Builder e1701733140596](https://monir.website/wp-content/uploads/2023/12/How-to-Show-Product-Discounts-with-Breakdance-Page-Builder-e1701733140596.jpeg)
First take a div or column or grid anything and set that class : closeclick
Add a icon for close or hide and set class name : clicktoclose
And finally add this code in code element :
<script>
document.addEventListener('DOMContentLoaded', function() {
jQuery(function($){
$('.clicktoclose').click(function(){
$(this).parents('.closeclick').hide();
});
}); });
</script>
<style>
.clicktoclose{
cursor: pointer;
}
</style>
CSSThank you : )
© Monir by Wpbuilderpros. Made by Breakdance page builder.