Can I hide the back button at the top? I want to use the button on the page to go back and also to automatically populate a set of data.
Use this in a rich text component
<pre><span><style>
[data-test="back-button"] {
display: none;
}
However users can still use a swipe left action or Android’s back button to navigate back, you don’t have control over those.
4 Likes
Very nice, can you explain to me where I can use this code?
[image]
As he said, a Rich Text component.
Just add a rich text component to the screen where you want to use it, and paste that CSS into it.
If you want to use it in more than one place, then a good idea is to add it as a template column in your User Profiles table, and then you can use it anywhere.
2 Likes
Yes I tried it… very nice, thank you so much
1 Like