# Could I Pin an Element to the Top of a Screen

**URL:** https://community.glideapps.com/t/could-i-pin-an-element-to-the-top-of-a-screen/43850
**Category:** Ask for Help
**Created:** [July 4, 2022, 12:49am UTC](https://community.glideapps.com/t/could-i-pin-an-element-to-the-top-of-a-screen/43850 "2022-07-04T00:49:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jkinsey](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jkinsey](https://community.glideapps.com/u/jkinsey)
#### Post date: [July 4, 2022, 12:49am UTC](https://community.glideapps.com/t/could-i-pin-an-element-to-the-top-of-a-screen/43850/1 "2022-07-04T00:49:02Z")

</div>

Hi All-  
I’ve been trying to pin a number of app elements to the top of the screen while scrolling, but am unable to figure out how to do this. Is there any way I can use CSS targeting or something to achieve this?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [July 4, 2022, 1:01am UTC](https://community.glideapps.com/t/could-i-pin-an-element-to-the-top-of-a-screen/43850/2 "2022-07-04T01:01:17Z")

</div>

yes, use CSS position: fixed;

```auto
<pre><span><style>
div[id*='screenScrollView'] > div > :nth-of-type(1){
position:fixed !important;
top:1% !important;
left:0% !important;
width:100% !important;
}

```

replace type(1) with the position of your element.

---

<div class="post-metadata">

### Author: ![jkinsey](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jkinsey](https://community.glideapps.com/u/jkinsey)
#### Post date: [July 4, 2022, 2:32am UTC](https://community.glideapps.com/t/could-i-pin-an-element-to-the-top-of-a-screen/43850/3 "2022-07-04T02:32:58Z")

</div>

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [July 5, 2022, 2:33am UTC](https://community.glideapps.com/t/could-i-pin-an-element-to-the-top-of-a-screen/43850/4 "2022-07-05T02:33:07Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
