Hi Uli,
The OP of this thread is using Pro which has a header builder which makes this easier to implement,
What this means it that there are options available out of the box in the theme and you are able to add your own customization by the use of a child theme. It doesn’t necessarily mean that things are achievable in a few clicks and a few CSS code as it depends on your setup.
You are using X and there are two header layouts available. You are currently using a Stacked header which is the logo is above the main menu and since you are using the a fixed navigation, only the navigation area or the menu area sticks at the top of the page.
If you aim to have the logo on the left and the menu on the right in the sticky header area, you will have to override the header template file using the child theme.
You will have to override the _navbar.php and add the customization there. To get you started, you will have to install and activate the child theme.
Once you have activated the child theme, login through FTP and go to wp-content/themes/x-child then create the following directory path framework/legacy/cranium/headers/views/global then add the file _navbar.php 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', '_brand' ); ?>
<?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; ?>
Then add this code in the custom CSS panel:
.x-navbar .x-brand {
display: none;
}
.x-navbar-fixed-top .x-brand {
display: block;
float: left;
}
.x-navbar-fixed-top
.desktop .x-nav {
float: right;
}
This should display the logo on the left of the menu when you scroll down the page but you might need to add a bit more CSS to achieve better styling for the header.
Hope this gets you started.
Cheers!