Toggle Icon Javascript
Toggle Icon CSS
.toggle-pause .elementor-icon i::before{
content: '\f04c';
}
Toggle Image Javascript
Toggle Image CSS
.new-img img{
content:url('');
}
Hi, thanks for above code. When I am using above code ‘\f04c’ or any other, on click disappears. When click again the previous icon appears again. kindly advise solution.
Try copying and posting the code again! I removed some caching on the post that was affecting the code. Let me know if it works now
Try to add the following in icon switch css:
font-family: “Font Awesome 5 Free”;
font-weight: 900;
The above addition worked for me.