title: Smooth anchor scrolling with Wordpress Visual Composer onclick javascript action button feature
body: <p>I'm using Wordpress Visual Composer and would like a button to have a smooth scroll down to a specific section on the same page. </p>
  
  <p>I've explored the standard button element's "insert inline onclick javascript action" with anchor IDs and code from many other similar Q&amp;As, but have had no luck. Does anyone have the answer specifically to Wordpress Visual Composer?</p>
  
  <p>(Below are screenshots of how I tried to implement @Frits suggestion.)</p>
  
  <p><a href="https://i.stack.imgur.com/ZIKzD.jpg" rel="nofollow noreferrer">Button href</a></p>
  
  <p><a href="https://i.stack.imgur.com/y9yMi.png" rel="nofollow noreferrer">Raw JS block</a></p>