# Smooth scroll to div

**URL:** <https://forum.bubble.io/t/smooth-scroll-to-div/22455>\
**Category:** Questions\
**Created:** [January 4, 2018, 4:39am UTC](https://forum.bubble.io/t/smooth-scroll-to-div/22455 "2018-01-04T04:39:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [January 4, 2018, 4:39am UTC](https://forum.bubble.io/t/smooth-scroll-to-div/22455/1 "2018-01-04T04:39:01Z")

</div>

Hi,

just want to know how can i make a smooth scrooll to a div id?

i tried an html element then input

so that when the button is clicked it will go to #gotohere

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [January 4, 2018, 4:49am UTC](https://forum.bubble.io/t/smooth-scroll-to-div/22455/2 "2018-01-04T04:49:11Z")

</div>

nvm i did it by adding a workflow of element action **“scroll to”** then choose the element then set offset pixels
