Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

313
Views
How to create a floating button (position fixed not working)

I am trying to make a floating button that will stay in place and will not move while scrolling. Using position fixed worked for a very simple test webpage but It's not working on my website where some web export auto generated javascript for scale to fit and resize present. Those code should not mess things up. Is there any other way to fix the button where I want and will not move while scrolling. Please if anyone knows about this help ...

CSS

#scroll-top-button
  {
    position: fixed; /* Need a different solution without fixed position */
    top: 240px;
    right: 100px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 8px rgba(171,229,99,0.45) solid;
    z-index: 999;
  }
#Web_1920__1 {
    position: absolute;
    width: 3554px;
    height: 2216px;
    border: 0px grey solid;
    background-color: rgba(255,255,255,1);
    overflow: visible;
    visibility: hidden;
    --web-view-name: Web 1920 – 1;
    --web-view-id: Web_1920__1;
    --web-scale-to-fit: true;
    --web-scale-to-fit-type: width;
    --web-scale-on-resize: true;
    --web-center-horizontally: true;
    --web-enable-deep-linking: true;
}

HTML

<body> /* simple structure */ <div id="scroll-top-button"></div> <div id="Web_1920__1"></div> </body>

Is it possible to achieve this in a different approach ...?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

try position: fixed !important;

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!