- This topic has 5 replies, 2 voices, and was last updated 9 years, 9 months ago by Theme Horse Support Team.
-
AuthorPosts
-
May 30, 2014 at 5:23 pm #10794AngelParticipant
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
May 31, 2014 at 2:17 pm #10815Theme Horse Support TeamKeymasterhi
Its responsive design so we have designed our theme this way. To remove it you need code customization for it.
Thank youJune 2, 2014 at 3:37 pm #10882AngelParticipantHi again, what file do I need to customize?
Thanks
June 3, 2014 at 3:54 pm #10935Theme Horse Support TeamKeymasterHI 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
June 5, 2014 at 5:46 pm #11026AngelParticipantThank you so much, it does the job
I´ll pay attention to further to updates of the theme
June 6, 2014 at 3:42 pm #11062Theme Horse Support TeamKeymasterOk that’s great
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.