Target: Menu

16 posts

Change the Menu label

The Hamburger Menu or the 3-bar Menu of the Customizr theme has the default label ‘Menu’ next to it. To change the default label to custom text, just paste this function into your child-theme’s functions.php file.   /************************************************************************/ /* Change default menu label ‘Menu’ to ‘Custom Word’ /************************************************************************/ add_filter(‘tc_sidenav_menu_button_view’,’my_menu_label’); function […]

How to display the Customizr(-Pro) vertical menu only in mobiles

Here’s a simple snippet in order to display the vertical menu only in mobiles, keeping the regular one in desktop devices: add_filter(‘tc_opt_tc_menu_style’, ‘tc_vertical_menu_in_mobiles’); function tc_vertical_menu_in_mobiles( $type ) { return wp_is_mobile() ? ‘aside’ : $type; } Where to copy/paste this code? Add it to your child-theme functions.php. Everything you need to […]