badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

"navigation" button at the main menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10794
    Angel
    Participant

    Hello:

    I´ve the following problem, when I see my web on a mobile phone, in the main menu, there is a button called “navigation” that goes to the home page, in the Desktop the navigation button it´s not displayed

    I don´t want to see this button in the mobile, how can I solve this?

    Thanks in advance

    #10815

    hi
    Its responsive design so we have designed our theme this way. To remove it you need code customization for it.
    Thank you

    #10882
    Angel
    Participant

    Hi again, what file do I need to customize?

    Thanks

    #10935

    HI Angel,

    If you want code customization then here is the code inside
    clean-retina-pro -> library-> functions -> functions.php

    /****************************************************************************************/
    
    add_filter( 'wp_nav_menu_items', 'cleanretina_nav_menu_alter', 10, 2 );
    /**
    *Add default navigation menu to nav menu
    * Used while viewing on smaller screen
    */
    if ( !function_exists('cleanretina_nav_menu_alter') ) {
    	function cleanretina_nav_menu_alter( $items, $args ) {
    		$items .= '<li class="default-menu"><a href="'.get_bloginfo('url').'" title="Navigation">'.__( 'Navigation','cleanretina' ).'</a></li>';
    		return $items;
    	}
    }
    
    /****************************************************************************************/

    Remove the above code.
    But we recommended not to change the code because if you change the code then while updating to our new version all the customization code will be lost. So better make a child theme and first unhook the functions and then you may edit the code.

    Thank you

    #11026
    Angel
    Participant

    Thank you so much, it does the job

    I´ll pay attention to further to updates of the theme

    #11062

    Ok that’s great
    Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.