Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Add a class to the Scroll to top / back to top button

Home / Forums / Virtue Theme / Add a class to the Scroll to top / back to top button

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
May 23, 2019 at 12:57 am

Hey team

I need to add a class to the back to top / scroll to top button that appears in the footer.

It seems to be generated in the plugin.js file. Is there any way to hook into the button to add an additional class?

<div class=”to_the_top”><div class=”icon-arrow-up”></div></div>

Need to add “noExt” class to stop it opening in new target blank window (as other external links I’ve set up to do)

So how to achieve this:

<div class=”to_the_top noExt”><div class=”icon-arrow-up noExt”></div></div>

  • The forum ‘Virtue Theme’ is closed to new topics and replies.