WordPress.org

Ready to get started?Download WordPress

Forums

Better Anchor Links
[resolved] ADJUSTING HOW FAR THE PAGE SCROLLS (5 posts)

  1. 3LW
    Member
    Posted 2 years ago #

    hi,

    great plugin!

    i was just wondering if there is any way to adjust how far the down the anchor jumps to?

    when i click on a link, the heading to which it jumps if half hidden. so basically, it goes too far down the page.

    is there anyway to adjust this?

    cheerio,
    3

    http://wordpress.org/extend/plugins/better-anchor-links/

  2. elpresidento
    Member
    Plugin Author

    Posted 2 years ago #

    hi, no, maybe it happens when WP upper bar is activated?

  3. 3LW
    Member
    Posted 2 years ago #

    hi,

    yup tried that, unfortunately didn't solve the problem.

    i've put in a CSS fix for now. just add some padding-top to the H tag.

    let's see if someone else encounters the problem.

    cheerio,
    3

  4. elpresidento
    Member
    Plugin Author

    Posted 2 years ago #

    hmmm anchor does not decide about deviation of jump, it jumps exactly. I mean it is maybe CSS issue ???

  5. kato
    Member
    Posted 1 year ago #

    I had the same problem and I *suspect* it's because I use a stylesheet "reset" to crush every default margin and height the browser might use.

    My solution was to add this to my stylesheet:
    a[name] { line-height: 1em; display: inline-block; padding-top: 30px; }

    Seems to work nicely in Chrome.

    My other thought was to stick the admin bar to the bottom of the page but I don't love that idea. https://github.com/Axiol/WPStickAdminBarBottom

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic