Home>Support>#top scroll animate in Corp theme

#top scroll animate in Corp theme

Hi!

Scrolling animation in anchor links works perfectly fine in Corp (great theme!), but I wanted also to add link to top in the footer, like:

 <a href="#top">Scroll to top</a>

The link works, but the animation doesn’t. Is there a way to repair it?

Thanks!

Y

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 months, 29 days ago Andrew Misplon Hi, I Work Here

    Hi Yomo

    Thanks for reaching out and for your support.

    You can try adding the corp-scroll class to your link:

    <a href="#colophon" class="corp-scroll">Scroll to the footer</a>
  2. 6 months, 29 days ago yomo_1234

    Hi!

    Thank you very much for your response.

    Unfortunately, it didn’t help. I wanted to add this link in the footer, not to link to the footer. Adding class=”corp-scroll” didn’t help with restoring the animation effect. Now the code looks like that in my case (it’s in the widget area in the footer) and the animation is not working properly:

     <a href="#top" class="corp-scroll">Scroll to top</a>

    Is there maybe other class I can add or anything else I can do?

    Thanks!
    Y

  3. 6 months, 29 days ago Andrew Misplon Hi, I Work Here

    Hi Yomo

    Thanks for your reply.

    To link to the header you can use:

    <a href="#page" class="corp-scroll">Top</a>
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More