Hi,
You need to do the changes in one place and for what you are trying to achieve I suggest you do it in wp-header.php
Please remove all codes pertaining to this in your child theme’s functions.php
file
Then try this in your wp-header.php
<?php
// =============================================================================
// VIEWS/ETHOS/WP-HEADER.PHP
// -----------------------------------------------------------------------------
// Header output for Ethos.
// =============================================================================
?>
<?php x_get_view( 'global', '_header' ); ?>
<?php x_get_view( 'global', '_slider-above' ); ?>
<header class="<?php x_masthead_class(); ?>" role="banner">
<?php x_get_view( 'ethos', '_post', 'carousel' ); ?>
<?php x_get_view( 'global', '_topbar' ); ?>
<?php x_get_view( 'global', '_navbar' ); ?>
<div id="cart">
<?php if ( x_is_shop() || x_is_product_category() || is_product_tag() ) : ?>
<div style="float:left;"><?php ubermenu( 'cart' , array( 'theme_location' => 'Cart-Menu' ) ); ?></div>
<div style="float:right;"><?php ubermenu( 'store' , array( 'theme_location' => 'Store-Menu' ) ); ?></div>
<?php else : ?>
<?php endif; ?>
</div>
<div id="star">
<?php if (is_woocommerce() || is_page( array( 3010, 3007 ) ) ) : ?>
<?php else : ?>
<?php ubermenu( '5776' , array( 'theme_location' => 'Secondary-Menu' ) ); ?>
<?php endif; ?>
</div>
<?php x_get_view( 'ethos', '_breadcrumbs' ); ?>
</header>
<?php x_get_view( 'global', '_slider-below' ); ?>
<?php x_get_view( 'ethos', '_landmark-header' ); ?>
Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities.
For more assistance, we do have an in-house custom development team that offer paid services, who may be able to assist. They can be contacted at pinnacle@theme.co if this is of interest to you. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.