How to register and display custom menu in WordPress

Step 1: To register custom menu you need to go to your functions.php file. You need to call the register_nav_menus function inside your custom function oleez_register_my_menus and hook it to the init hook. Here, we are registering three custom menus: Header menu with menu name as header-menu, Header Secondary with menu name as header-secondary-menu Extra […]

Continue Reading...

CSS Tricks

Debugging unnecessary horizontal scroll One of the easiest tricks to debug when the html element leaves its container and see an extra space with a horizontal scrol bar is as follows: click on the plus icon under styles tab when you inspect element on the browser web page Now add a border using the selector […]

Continue Reading...
%d bloggers like this: