hi there, i found a dialogue that provided code to hide the logo but to have it reappear once someone scrolls - only on the home page.
I want to hide the (top left) logo completely on the home page and have it as normal on all others. can you tell provide the edited code to accomplish this please?
This was the code provided;
Thank you for reaching out to us. You can do this with custom scripting, first edit your home page in Cornerstone and then add the following code in the JS section the page (see screenshot)
jQuery(document).ready(function($){
$(’.home .x-brand’).hide();
var scroll_height = $(‘header.masthead’).outerHeight();
$(window).scroll(function(){
if ($(this).scrollTop() > scroll_height) {
$(’.home .x-brand’).show();
}
else {
$(’.home .x-brand’).hide();
}
});
});

kudos on that design