Site URL: https://www.yichongz.com/
.scrollup {
width: 48px;
height: 48px;
opacity: 0.8;
position: fixed!important;
bottom: 20px;
right: 40px;
z-index: 1;
display: none;
text-indent: -9999px;
}
I used the code like this, and insert the block into the footer.
But the problem is, I want the scroll up button float and fixed on the screen, but if I put the block in the footer, it just stays in the area of the footer.
I tried adding a block outside of the future and those codes work well. However, I don't want to insert new block in every page. Does anyone know how to deal with the blocks in the footer?
BTW, I've used these codes for a long time, and everything looks good when I first implemented it. Did the Squarespace upgraded these days?