Could I Pin an Element to the Top of a Screen

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!

yes, use CSS position: fixed;

<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.

2 Likes

Thanks!

1 Like

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