# How should I pin a element in the mobile's webpage？

**URL:** <https://forum.wixstudio.com/t/how-should-i-pin-a-element-in-the-mobiles-webpage/35774>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [August 3, 2021, 4:03am UTC](https://forum.wixstudio.com/t/how-should-i-pin-a-element-in-the-mobiles-webpage/35774 "2021-08-03T04:03:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yyjq2016](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yyjq2016/32/29404_2.png) [@yyjq2016](https://forum.wixstudio.com/u/yyjq2016)\
**Post date:** [August 3, 2021, 4:03am UTC](https://forum.wixstudio.com/t/how-should-i-pin-a-element-in-the-mobiles-webpage/35774/1 "2021-08-03T04:03:21Z")

</div>

I want to achieve an effect like this：  
1.on the mobile‘s page，I put a repeater in the left side to be the menu  
and I use an other element on the right side of the page to serve as the function of the classification of the menu.  
2.When I swipe the menu on the right, the elements on the left will automatically select the category of the item that has entered the page.  
3.When I click on the category on the left, the element on the right will automatically jump to the first item of the corresponding category.  
4.The elements on the left as the menu are always displayed in a fixed position on the phone screen.

Which element should I use and How should the code be written？

---

<div class="post-metadata">

**Author:** ![J.D](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/j.d/32/7312_2.png) [@J.D](https://forum.wixstudio.com/u/J.D)\
**Post date:** [August 3, 2021, 3:17pm UTC](https://forum.wixstudio.com/t/how-should-i-pin-a-element-in-the-mobiles-webpage/35774/2 "2021-08-03T15:17:28Z")

</div>

On **EditorX** - set the position to be “fixed”.  
On the **classic editor** it is not possible unless you create a [custom element](https://support.wix.com/en/article/velo-about-custom-elements) of your own and set its position to be “fixed” via code (for this solution you have to know some basic html, css and to have a premium account under your own domain).

---

<div class="post-metadata">

**Author:** ![yyjq2016](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yyjq2016/32/29404_2.png) [@yyjq2016](https://forum.wixstudio.com/u/yyjq2016)\
**Post date:** [August 12, 2021, 1:50am UTC](https://forum.wixstudio.com/t/how-should-i-pin-a-element-in-the-mobiles-webpage/35774/3 "2021-08-12T01:50:33Z")

</div>

Sorry,On **EditorX** - set the position to be “fixed”.\<-I didn’t found how to set the position to be “fixed”
