Hi Jurga,
You may follow the suggestion by @BaysKitchen (thanks for helping out
) but you may also override the header template but this will require you to do the customization through the child theme.
You will have to have the child theme installed and activated first then create the following path directory: wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/ then add the _navbar.php in the global directory and add this code in the file:
<?php
// =============================================================================
// VIEWS/GLOBAL/_NAVBAR.PHP
// -----------------------------------------------------------------------------
// Outputs the navbar.
// =============================================================================
$navbar_position = x_get_navbar_positioning();
$logo_nav_layout = x_get_logo_navigation_layout();
$is_one_page_nav = x_is_one_page_navigation();
?>
<?php if ( ( $navbar_position == 'static-top' || $navbar_position == 'fixed-top' || $is_one_page_nav ) && $logo_nav_layout == 'stacked' ) : ?>
<div class="x-logobar">
<div class="x-logobar-inner">
<div class="x-container max width">
<?php x_get_view( 'global', '_brand' ); ?>
</div>
</div>
</div>
<div class="x-navbar-wrap">
<div class="<?php x_navbar_class(); ?>">
<div class="x-navbar-inner">
<div class="x-container max width">
<?php x_get_view( 'global', '_nav', 'primary' ); ?>
</div>
</div>
</div>
</div>
<?php else : ?>
<div class="x-navbar-wrap">
<div class="<?php x_navbar_class(); ?>">
<div class="x-navbar-inner">
<div class="x-container max width">
<?php x_get_view( 'global', '_brand' ); ?>
<?php x_social_global(); ?>
<?php x_get_view( 'global', '_nav', 'primary' ); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
Also add this code in the custom CSS panel to align the social icons to the right:
.x-navbar-inner .x-social-global {
float: right;
margin-left: 35px;
}
You might need to add a bit more CSS code to further style the icons and the spacing but this should get you started.
Hope this helps.