Adding sticky menu effect in Primary Navigation of Daily Dish Pro Theme. I did following things:
- Create a sticky-menu.js file and upload into js folder
- Enqueue the JS file. Add the PHP script in functions.php file
- Add CSS in style.css file
Step 1
Create a new JS file “sticky-menu.js” and upload in js folder. Here is the complete code of this JS file.
Leave A Reply