Here we will see how to change sub-menu class name with wp_nav_menu generated by wordpress. In WordPress, all sub-menus have the class 'sub-menu'. To change it to a custom class, add the following code in your functions.php file.
Here we are going to learn how to create a custom select box using CSS and java script. There are many solutions are available on another blogging sites. But, here I will show you one the most relevant method which is compatible in all modern browsers.
I have a custom loop on a custom template page in WordPress that is showing posts from a particular category. This all works great and shows everything I need, however I need to add some pagination … eventually.
To hide the default arrow on select menu element from all major browsers using one simple set of property. Then you can also used to add background image instead of that arrow.