[Solved] Changing background-color of fixed block at every new screen

You can change the background color of that fixed div by using the index or anchorLink option in fullpage.js. To change the css you can use onLeave() or afterLoad() method to call the function $(document).ready(function() { $(‘#fullpage’).fullpage({ onLeave: function(anchorLink, index) { //using index if (index == 1) { $(“.fixed”).css(“background-color”, “black”); } if (index == 2) … Read more