the answer for all question about Oxygen Builder plugin and WordPress

Quick tip : How to create a smooth “back to top” button in less than 20s.


Quick tip : How to create a smooth “back to top” button in less than 20s.
Just need to add this attribute :
onclick
window.scrollTo({top: 0, behavior: ‘smooth’});

(don’t mind the warning message after pasting the code)
Done!




Source

6 Comments
  1. Supa Mike says

    screenshot

  2. Niko Strobel says

    🤯

  3. Kokoh Coki Siregar says

    Wohoooo

  4. Harry Buckley says

    Thanks Mike – appreciated 🙂

  5. Thibaut Goarant says

    Merci !

  6. Stéphane Vicent says

    Merci Supa Mike

Leave A Reply

Your email address will not be published.

Oxyrealm Docs