Hi aris,
Did you created a child theme? You need to unhook the functions in functions.php file and then hook that functions in Child theme of functions.php, Only copying the code on the functions.php will not override the child theme. You need to unhook this functions in your child theme
add_action('ultimate_header', 'ultimate_headercontent_details', 10);
after that again change the functions name of ultimate_headercontent_details
as ultimate_headercontent_child_details
and you need to customize the code. If you are unable to change it then either you make a direct changes in the code (theme folder-> inc-> structure -> header-extension.php on line no 335 to 349 you will find this below code)
if (has_nav_menu('primary')) {// if there is nav menu then content displayed from nav menu else from pages
$args = array(
'theme_location' => 'primary',
'container' => '',
'items_wrap' => '<ul class="nav-menu">%3$s',
);
echo '<nav id="access" class="clearfix">
<div class="container clearfix">';
wp_nav_menu($args);//extract the content from apperance-> nav menu
echo '</div> </nav><!-- #access -->';
} else {// extract the content from page menu only
echo '<nav id="access" class="clearfix">
<div class="container clearfix">';
wp_page_menu(array('menu_class' => 'nav-menu'));
echo '</div></nav><!-- #access -->';
}
You can change it according to your wish you want. But each and every time while updating you need to do the same thing in this code.
If you are unable then you may hire a developer to fix it.
Thank you!