diff --git a/app.js b/app.js index d5591aea..0189823c 100644 --- a/app.js +++ b/app.js @@ -10,7 +10,7 @@ hamburger.addEventListener('click', () => { document.addEventListener('scroll', () => { var scroll_position = window.scrollY; - if (scroll_position > 250) { + if (scroll_position > 500) { header.style.backgroundColor = '#29323c'; } else { header.style.backgroundColor = 'transparent';