Hi all,
We have added a floating button based on some code snippets on the forum, all works except for the position - it is covered by some sections when scrolling (we tried setting z-position to different numbers but none worked).
Can somebody please advise?
Thank you!
Code on page:
<a href="https://www.newtonenergy.nl/how-to-preorder" class="sqs-block-button-element sqs-block-button-element" id="back-to-top">Pre-order now!</a>
Code in CSS:
#back-to-top{
position:fixed!important;
top:50%!important;
right:0!important;
z-index: 99999!important;
transform: translateY(-50%);
font-size: 1.1em;
background: #C42F35;
color: #fff;
text-transform: uppercase;
font-family: montserrat!important;
writing-mode: vertical-rl;
padding: 40px 20px;
}