Hi there,
I moved from X to Pro today and in turn have recreated my header within Pro including the custom CSS and JS I used to change the class added to the header to alter it during scroll down.
However this isn’t reflected within the Header creator. I have to go the actual site - http://staging.dwanedigital.co.uk/ in order to see if my CSS or JS had the desired effect or not.
How come you can’t see the JS/CSS within the header creator? I have cleared my caches also.
In addition I’m having a problem in which whenever I scroll the JS seems to be loading an image which is a problem

Here is my JS
if($(window).width() > 980){
jQuery(document).ready(function($) {
$(window).scroll(function() {
var scrollPos = $(window).scrollTop(),
navbar = $('.e269-1.x-bar');
if (jQuery('body').hasClass('home')) {
if (scrollPos > 100) {
navbar.addClass('alt-color');
} else {
navbar.removeClass('alt-color');
}
} else {
if (scrollPos > 1) {
navbar.addClass('alt-color');
} else {
navbar.removeClass('alt-color');
}
}
});
});
jQuery(document).ready(function($) {
$(window).scroll(function() {
var scrollPos = $(window).scrollTop(),
navbar = $('.e269-1.x-bar');
if (jQuery('body').hasClass('home')) {
if (scrollPos > 100) {
$('.e269-1.x-bar .x-image img ').attr('src','//staging.dwanedigital.co.uk/wp-content/uploads/2019/09/Dwane-Digital-Logo-Black.png');
} else {
$('.e269-1.x-bar .x-image img ').attr('src','//staging.dwanedigital.co.uk/wp-content/uploads/2019/09/Dwane-Digital-Logo-White.png');
}
} else {
if (scrollPos > 1) {
$('.e269-1.x-bar .x-image img ').attr('src','///staging.dwanedigital.co.uk/wp-content/uploads/2019/09/Dwane-Digital-Logo-Black.png');
} else {
$('.e269-1.x-bar .x-image img').attr('src','//staging.dwanedigital.co.uk/wp-content/uploads/2019/09/Dwane-Digital-Logo-White.png');
}
}
});
});
}


