Tool Link – https://tools.webdevpuneet.com/image-to-base64/ This online web tool is capable of converting small image files like logos to Base 64 string that you can use in css as a background image and <img> tag.
This WordPress plugin can be used to create advanced custom fields and attach them to post, pages, specific posts or pages, and other conditions. URL – https://wordpress.org/plugins/advanced-custom-fields/
Just place this code anywhere after including jQuery library. This helps the user scroll to the ‘element’ id in href=”#element”. $(function () { /* Slide to # location with animation */ $(document).on(‘click’,...
Here is a very cool way to input color code using a basic HTML input tag. This may eliminate the use of a fancy jQuery color picker at a basic level 🙂 Demo Open demo in a full window – https://demos.webdevpuneet.com/html/input-color/index.html HTML <input...
How to prevent form from submission if user has not gone through Google ReCapcha ?jQuery(document).ready(function(j){ jQ(‘#formid’).submit(function(e) { var recaptcha = j(“#g-recaptcha-response”).val(); if ( recaptcha === “” )...
You must have faced this issue such that the background changes on hovers on mobiles and touch devices remain hover-styled even after you have touched the screen and not touching it anymore. The simple solution to this is enclosing all hovers in the following media...