Console warning when using touch events in WordPress Theme
Other Names of This Error: 1. [Chrome Dev Tools – Mobile] Unable to preventDefault inside passive event listener due to target being treated as passive 2. OwlCarousel2 Console warning when using touch events SOLUTION Add this code in main CSS of the theme body { touch-action: manipulation; } OR, add this code .owl-carousel { touch-action: […]
“Clearfix” Code Snippet & what the hell is it !
A clearfix is a way for an element to automatically clear its child elements, so that you don’t need to add additional markup. It’s generally used in float layouts where elements are floated to be stacked horizontally. The clearfix is a way to combat the zero-height container problem for floated elements. A clearfix is performed […]
How To Set Up WordPress Multi Site
1. Install WordPress 2. Open wp-config.php file 3. Find out this line: /* That’s all, stop editing! Happy blogging. */ 4. Add this code before this (3) comment: /* Multisite */ define( ‘WP_ALLOW_MULTISITE’, true ); 5. Now refresh the WordPress dashboard. 6. Go to Tools option 7. You will see a new option there named […]
Custom CSS Code For Fonts
1. Download Custom font 2. Upload it in a folder named “Font” 3. Then use this code @font-face { font-family: ‘MyWebFont’; src: url(‘webfont.eot’); /* IE9 Compat Modes */ src: url(‘webfont.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */ url(‘webfont.woff2’) format(‘woff2’), /* Super Modern Browsers */ url(‘webfont.woff’) format(‘woff’), /* Pretty Modern Browsers */ url(‘webfont.ttf’) format(‘truetype’), /* Safari, Android, iOS */ […]
A Guide to Interviewing for Product Design Internships
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born. Lorem Ipsum is