Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7162461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:44:20+00:00 2026-05-28T13:44:20+00:00

I have just used the ScrollToFixed plugin by bigspotteddog ( https://github.com/bigspotteddog/ScrollToFixed ) on my

  • 0

I have just used the ScrollToFixed plugin by bigspotteddog

( https://github.com/bigspotteddog/ScrollToFixed )

on my website

( http://faiththeagency.com/easyphone/frequently-asked-questions.php ) *updated website so plugin is working

And basically from what I can see this plugin is inserting a div directly below my #float-cta div with these attributes:

<div style="width: 354px; height: 457px; float: none; display: none; "></div>

And this is cauing my layout to change and sort of jump around, can anyone see why this is happening?

Here is my code.

   <div id="float-cta">

     <img src="img/phone.gif" />
     <h2>Call us on: 0800 085 2761</h2>
     <p class="f13">Lines are open 9.00am – 5.00pm,<br /> Monday to Friday.</p>

     <img src="img/store.gif" />
     <h2>Go in store</h2>
     <p class="f13">The Age UK Shop is located in Peterborough town centre: <span class="bold">25 Westgate, Peterborough, PE1 1PZ</span>. <span class="italic">Age UK Limited is acting as our<br /> in-store sales agent. All contracts are with CyCell Limited.</span></p>

     <a href="easyphone_order_form.pdf" class="block nul"><img src="img/form.gif" />
     <h2 class="ul">Download an order form</h2>
     <p class="f13">Click here to download the order form. <br />Fill it in and post it in a stamp addressed envelope to <span class="bold">EasyPhone, PO Box 70812, London, NW1W 8ZA</span></p></a>

      <img src="img/letter.gif" />
      <h2>Email order form</h2>
      <p class="f13">Scan and email your completed order form<br /> to <a href="mailto:info@cycell.com">info@cycell.com</a></p>

    </div>

jQuery

$('#float-cta').scrollToFixed();

CSS

#float-cta {
position:absolute;
width:322px;    height:395px;
background-color:#00853e;
margin: 30px 0 0 0;
color:#FFFFFF;
font-size:14px/16pt;
padding: 16px;
right:39px;
}

#float-cta.fixed {
position:fixed;
top: 0;
}

#float-cta p {
margin: 0 0 22px 52px;
}

#float-cta img {
float:left;
margin: 0 9px 0 0;
}

I’ll be around all day to answer any questions, and thanks in advanced.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:44:20+00:00Added an answer on May 28, 2026 at 1:44 pm

    I actually contacted Bigspotteddog and he/she was very helpful with my query and supplied a fix to this problem. The fix can be seen here:

    Thanks for the compliment. I found a workaround for the issue you are seeing. I don’t think this plugin works well with absolutely positioned elements as it uses absolute itself.

    Here are the changes made:

    1. Remove the marginTop from the scrollToFixed call:

       $('#float-cta').scrollToFixed();
      
    2. Put a contents wrapper (#float-cta-contents) inside of your #float-cta to create the desired margin-top:

       <div id="float-cta">
         <div id="float-cta-contents">
          ...
      
    3. Modify your css to this:

       #float-cta {
          float: right;
          margin-right:39px;
          font-family: AlwynNewRegular;
          font-size: 24px;
       }
      
       #float-cta-contents {
          width:322px;
          height:395px;
          margin-top: 30px;
          background-color:#00853e;
          color:#FFFFFF;
          padding: 16px;
       }
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used opera unite for deploying a static html/css/javascript website just for fun.
I have used just Windows for programming so far. Now, I have an internship
I have just downloaded SQL Server 2005 express edition from here: To be used
Just trying to understand that - I have never used it before. How is
I have just used FastMM4 to detect leaks. I did not realise our application
I have just written a small utility to be used in a pre-build event.
I'm a penetration tester and I have just found, on a website we are
Why is there another section called connectionStrings? I have always just used appSettings, until
I have just taken over some code and I see this used a lot.
I have just used proguard, but classes I am trying to instantiate via reflection

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.