Viewing 1 replies (of 1 total)
  • Theme Author maxsdesign

    (@maxsdesign)

    Hi, add this function at the bottom of your functions.php file (use a child theme or it will be overwritten on next update):

    function brand_compact_navigation() {
    	$brand_settings = wp_parse_args(
    		get_option( 'brand_settings', array() ),
    		brand_get_defaults()
    	);
    	$search_icon = 'enabled' === $brand_settings['nav_search'] ? '<a href="#" class="search-form-icon"><i class="fa fa-fw fa-search menu-search-form-icon"></i></a>' : '';
    	?>
    	<div class="compact-menu-icons">
    		<?php echo $search_icon; ?>
    		<a style="cursor:pointer;" id="mobile-menu-button"> Menu </a>
    	</div>
    	<?php
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Hamburger Icon – Nav Menu’ is closed to new replies.