Shrink Header Image on Scroll

So there’s two things we need to look out for here. We have to first make sure we specify to jQuery/javascript what it is that we’re selecting. In this code you are targeting the HTML header element and then also targeting ‘site-logo’ but jQuery can’t find an element named ‘site-logo’. <script> jQuery(document).ready(function($) { $(window).scroll(function () … Read more