[Solved] JQuery issue with a back to top function
You should edit your CSS to hide your “Back to Top” button by default, and then show it when the show class is added. #toTop { display: none; background-color: #FF9800; width: 50px; height: 50px; text-align: center; border-radius: 4px; margin: 30px; position: fixed; bottom: 30px; right: 30px; transition: background-color .3s; z-index: 1000; } #toTop.show { display: … Read more