Issue with switching menues on woocommerce

I am trying to switch menues on woocommerce
i want the store menu to be shown on the right and the cart menu on the left

i have this code written in wpheader.php in xchild theme wp-content/themes/x-child/framework/legacy/cranium/headers/views/ethos

<?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' ); ?>

i am trying to switch the #x-navbar to store menu and the
#star menu with cart.

could i get any help here please?

Hi,

Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. 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.

but you are the one who gave me this code, now im stuck and dont know what to do

Hi,

I provided you the code so you will something to start with though we are well into the custom development realm, 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.

Thanks for understanding.

look at this screenshot

i just want to replace 1 with 2 thats all

Hi Adam,

As my colleagues have repeatedly advised you, your requests are completely beyond theme support. We gave you a place to start, which was over and above the reasonable expectations of theme support, but we will not assist further. I would kindly refer your to our terms of use and specifically draw your attention to the sections on Product Support and Allowed Usage.

At this point, I should caution you that I believe your persistent requests for customisation are becoming an abusive of our support service, and I strongly encourage you to cease, else I may have to restrict your access to our support forum.

I trust this clarifies our position.

Hello @angelofgod,

Looks like you have withdrawn the ticket/post you created. In that regards I am closing this ticket.

Thanks.