Community Forums › Forums › Archived Forums › Design Tips and Tricks › Essene Pro Responsive Menu – Remove the Word 'Menu'
- This topic has 1 reply, 2 voices, and was last updated 4 years, 6 months ago by Anita.
-
AuthorPosts
-
October 10, 2019 at 1:04 am #493946AdamTParticipant
Hi,
I'm trying to remove the word 'Menu' from the Essence Pro responsive menu. I know this topic has been answered before. (See below.) Victor told the poster to remove the word Menu in the theme's /lib/header-functions.php (see link below).
However, the header-functions.php file in my Essence Pro folder is a bit different than the one Victor mentions. Line 68 shows an entirely different code. I believe the section that relates to the Menu name is quoted here.
I've tried to change the word 'Menu' to '', unsuccessfully (line 61: $menu_text = __( 'Menu', 'essence-pro' );)
Please assist,
All the best,
Adam$menu_text = __( 'Menu', 'essence-pro' ); $hide_text = __( 'Hide Off Screen Menu', 'essence-pro' ); $menu_args = array( 'theme_location' => 'off-screen', 'depth' => 1, 'fallback_cb' => false, ); if ( genesis_is_amp() ) { ?> <amp-lightbox id="off-screen-lightbox" class="off-screen-menu off-screen-content" layout="nodisplay" scrollable> <div class="off-screen-container"> <div class="off-screen-wrapper"> <div class="wrap"> <button class="lightbox toggle-off-screen-menu-area close" on="tap:off-screen-lightbox.close"><span class="screen-reader-text"><?php echo esc_html( $hide_text ); ?></span>X</button> <?php genesis_nav_menu( $menu_args ); ?> </div> </div> </div> </amp-lightbox> <div class="header-right"> <button class="off-screen-item toggle-off-screen-menu-area" on="tap:off-screen-lightbox" layout="nodisplay"><i class="icon ion-md-menu"></i> <?php echo esc_html( $menu_text ); ?></button> </div> <?php } else { ?> <div class="off-screen-menu off-screen-content"> <div class="off-screen-container"> <div class="off-screen-wrapper"> <div class="wrap"> <button class="toggle-off-screen-menu-area close"><span class="screen-reader-text"><?php echo esc_html( $menu_text ); ?></span>X</button> <?php genesis_nav_menu( $menu_args ); ?> </div> </div> </div> </div> <div class="header-right"> <button class="off-screen-item toggle-off-screen-menu-area"><i class="icon ion-md-menu"></i> <?php echo esc_html( $menu_text ); ?></button> </div> <?php } }
Original post on this topic:
https://skinsens.co.il
https://studiopress.community/topic/essence-pro-hamburger-menu-name-change/October 10, 2019 at 7:06 pm #493955AnitaKeymasterThe first line says:
$menu_text = __( 'Menu', 'essence-pro' );
Remove the word Menu so it looks like this:
$menu_text = __( '', 'essence-pro' );
Love coffee, chocolate and my Bella!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.