Hi,
- Please remove the code that reads
$( '.x-topbar' ).prependTo('.x-navbar');
$('.x-navbar-wrap')css('height', '135px');
This is breaking the fixed navbar layout.
- You can assign your header to your frontpage only by selecting it on the right side pane.
See screenshot.

Please review link below
- You cannot switch Headers on scroll, but you can do that effect on just one header.
You need to set-up your bar initial position
to Absolute
- If you want to try the above custom code, you can change the css code to this.
/* homepage Header */
@media(min-width: 980px) {
.home .masthead {
position:absolute;
width:100%;
}
.home .x-topbar,
.home .x-navbar {
transition: all 0.5s ease;
background-color:transparent;
}
.home .x-navbar .desktop .x-nav > li > a {
color:#fff;
}
.home .x-topbar,
.home .x-topbar a,
.home .x-topbar font {
color:#fff !important;
}
.home .x-navbar .desktop .x-nav > li > a:hover,
.home .x-navbar .desktop .x-nav > .current-menu-item > a,
{
color: #4682b4 !important;
}
.home .x-topbar.x-topbar-fixed-top,
.home .x-navbar.x-navbar-fixed-top {
background:#fff;
}
.home .x-topbar.x-topbar-fixed-top,
.home .x-topbar.x-topbar-fixed-top a,
.home .x-topbar.x-topbar-fixed-top a font{
color:#000 !important;
}
.home .x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a {
color:#000;
}
.home .x-topbar.x-topbar-fixed-top {
position:fixed;
top:0;
width:100%;
}
.home .x-navbar.x-navbar-fixed-top {
top:55px;
}
.home.admin-bar .x-topbar.x-topbar-fixed-top {
top:32px;
}
.home.admin-bar .x-navbar.x-navbar-fixed-top {
top:87px;
}
}
Then add this in Custom JS
/* OPaque on scroll */
jQuery(function($){
$(window).scroll(function(){
if ( $(this).scrollTop() ==0) {
$('.x-navbar').removeClass('x-navbar-fixed-top');
}
if($('.x-navbar').hasClass('x-navbar-fixed-top')) {
$('.x-topbar').addClass('x-topbar-fixed-top');
}else {
$('.x-topbar').removeClass('x-topbar-fixed-top');
}
});
});
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.
Thanks