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

  • Home
  • SEARCH
  • 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 8519209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:11:12+00:00 2026-06-11T06:11:12+00:00

Read the github documentation, bug is well know and it was suppose to have

  • 0

Read the github documentation, bug is well know and it was suppose to have been fixed in 2.1..
but it hasn’t?

Essentially… you can offset the data the scrollspy uses HOWEVER that offset does NOT affect the actual clicking of the tab.

Any help on finding a solution?

This is the site I am trying to fix: http://www.powerliftingbasics.com

  • 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-06-11T06:11:14+00:00Added an answer on June 11, 2026 at 6:11 am

    As per @fat’s comment on Issue #3316: Scrollspy Bugs:

    $('.navbar').scrollspy({offest: 70}); is only intended to modify
    scrolling calculations – we don’t shift the actual anchor click stuff,
    that’s on you. The plugin is only for spying on scrolls.

    That is, ScrollSpy just observes, it doesn’t control browser scroll.

    The Twitter Bootstrap page solves it by using a padding-top: 30px on the sections that are linked to. Otherwise you could deal with it with JS:

    function adjustScrollForNavbar() {
      var $nav = $('div.navbar')
      if ( $nav.css('position') !== "fixed" ) return
      window.scrollBy(0, -$nav.height())
    }
    
    // Adjust for fixed navbar
    $('body').on('click.scroll-adjust', '[href^="#"]', function (e) {
      if ( e && e.isDefaultPrevented() ) return
      $(window).one('scroll', adjustScrollForNavbar )
    });
    

    Obviously the CSS fix would be preferable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read the GitHub questions here rather thoroughly, but couldn't find the clue
Backround: Suppose I have the following Git URLs (hosted on github) http://github.com/mikl/drupal.git git://github.com/mikl/drupal.git (Git
We need to have a read only github repo that mirrors our main branch.
I'm trying to set up my own http openwrap repository. I've read https://github.com/openrasta/openwrap/wiki/Openwrap-publishing-protocol but
I have tried googling and read through https://help.github.com/en/articles/connecting-to-github-with-ssh and various, various guides. I am
Couldn't find anything in the github documentation and also here on SO. But I
I'm developing a custom contacts app. I read default Contacts app source from Github
Read about the issue in this stackoverflow question . Still have the same issue
I read an article about a regular expression to detect base64 but when I
Having read the documentation for VPython and GTK threading , it seems to me

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.