This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

#top scroll animate in Corp theme

Open 3 replies technicalthemetheme-corp
4 years ago · Last reply by Andrew Misplon 4 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 4 years, 4 months ago

    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. yomo_1234 4 years, 4 months ago

    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. Andrew Misplon Staff 4 years, 4 months ago

    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.

Have a different question or issue?

Start New Thread