# Can I hide the back button at the top?

**URL:** <https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075>\
**Category:** Ask for Help\
**Created:** [August 28, 2021, 1:12pm UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075 "2021-08-28T13:12:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sales\_Manager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sales_manager/32/16172_2.png) [@Sales\_Manager](https://community.glideapps.com/u/Sales_Manager)\
**Post date:** [August 28, 2021, 1:12pm UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/1 "2021-08-28T13:12:53Z")

</div>

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.

![لقطة الشاشة 2021-08-28 160317](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a5bb04e485702d3a52572c0687fc388ece952b7e.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 28, 2021, 1:23pm UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/2 "2021-08-28T13:23:24Z")

</div>

Use this in a rich text component

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

---

<div class="post-metadata">

**Author:** ![Sales\_Manager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sales_manager/32/16172_2.png) [@Sales\_Manager](https://community.glideapps.com/u/Sales_Manager)\
**Post date:** [August 28, 2021, 2:15pm UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/3 "2021-08-28T14:15:07Z")

</div>

> [@ThinhDinh](#):
>
> Use this in a rich text component
> 
> ```auto
> 
> ```

Very nice, can you explain to me where I can use this code?

[image]

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 28, 2021, 2:28pm UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/4 "2021-08-28T14:28:33Z")

</div>

As he said, a [Rich Text component](https://docs.glideapps.com/all/reference/components/text/rich-text).  
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.

---

<div class="post-metadata">

**Author:** ![Sales\_Manager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sales_manager/32/16172_2.png) [@Sales\_Manager](https://community.glideapps.com/u/Sales_Manager)\
**Post date:** [August 28, 2021, 6:50pm UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/5 "2021-08-28T18:50:34Z")

</div>

Yes I tried it… very nice, thank you so much

---

<div class="post-metadata">

**Author:** ![PBOWER](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pbower/32/92725_2.png) [@PBOWER](https://community.glideapps.com/u/PBOWER)\
**Post date:** [August 24, 2023, 10:25am UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/6 "2023-08-24T10:25:19Z")

</div>

Hi All,

I tried this too, and tried the rich text from a few posts. Am I missing something?

 ![1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/4/440ac79d463e1a2897b8b104376e9e26ca41a04b.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 24, 2023, 10:29am UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/7 "2023-08-24T10:29:34Z")

</div>

That only worked with the old Classic Apps. It doesn’t work with the new Apps.

Just as a side note - if you think you need to hide the Back Button, then there is something wrong with your App flow or your logic. Even if you do manage to find a way to hide it, you won’t stop users from using their browser back button.

---

<div class="post-metadata">

**Author:** ![PBOWER](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pbower/32/92725_2.png) [@PBOWER](https://community.glideapps.com/u/PBOWER)\
**Post date:** [August 25, 2023, 7:46am UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/8 "2023-08-25T07:46:47Z")

</div>

Now that is a very good point Darren, thank you. I have changed the flow and logic based on user behaviour…I’ll tweak that instead. I was just looking for the easy option and was confused why the rich text workaround wasn’t working.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 26, 2023, 1:39am UTC](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/9 "2023-08-26T01:39:27Z")

</div>

More on that, CSS would only work on Business & Enterprise levels in the new Glide Apps, but the same code you used on Classic most likely won’t work.

On the new Glide Apps, you have a centralized place to input your CSS.
