Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #178861

    Hi guys-

    I have this runnning as a one page now. Question…

    Note that when you open an AJAX portfolio it slides up to the same point on the page. Very nice. But that point is above the portfolio section (shows some of the testimonials sections above). How can I change it so it slides up to the top of the portfolio section and no higher?… like it does when you originally anchor to it with a button (see “Portfolio” “tab at the top)…

    http://mcalpin.net/

    Thanks!

    #178922

    Hi mgma!

    What do you mean by no higher than the top of the portfolio section? Sorry but can you please post a screenshot?

    Regards,
    Ismael

    #178924

    Thanks Ismael…. Here ya go…

    http://mcalpin.net/anchor.jpg

    #179455

    Hi!

    Edit js > shortcodes.js, find this code on line 241:

    var target_offset = target_wrap.offset().top - 175,

    Replace it with:

    ar target_offset = target_wrap.offset().top - 100,

    Remove browser cache then reload the page a few times.

    Regards,
    Ismael

    #179506

    Thanks Ismael. That broke my tabs above, for some reason. SO I just changed the number 175 to 82.. and it seems to do the trick.

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Need to change AJAX anchor placement’ is closed to new replies.