WordPress Shortcodes
Scroll to the top of the section? (2 posts)

  1. louisajo
    Posted 1 year ago #

    Is there a way to make the page scroll to the top of the open section when a section is opened? I have a page that I'm putting song lyrics on (lyrics inside each section) but there are places on the site I want to link from (the linking works! but I need to figure out how to have it scroll automatically).

    TL;DR Can I make my page
    behave like this one? http://www.annualreports.vcu.edu/president/excellence/index.html



  2. Synved
    Plugin Author

    Posted 1 year ago #

    It should bring you to the section because it's using the #named-anchor, although it won't scroll smoothly there because that's done in JS. I see you have replaced them with something else though so I can't if there something wrong with your page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic