In Apps, how would one go about making the top 2, 3, or 4 components ‘sticky’
I found this and it works well for the first component but when I try to add another richtext with nth type to ‘2’ (on an action text component) it doesn’t work.
I tried to get it to work with no success. How would you suggest I alter this CSS to make all of the top 4 components ‘sticky’ Will I need 4 rich text components? Thanks again
Yes, you need to create four rich texts to set each component. Each component requires a different target CSS class and a different top value.
Or if you want the second component to overwrite the first component then you can use the same top value but a different z-index.
Nb: Change the nth-of-type (n) according to the order of your choice of components.