# Progress Bar Color

**URL:** <https://community.glideapps.com/t/progress-bar-color/12023>\
**Category:** Feature Requests\
**Created:** [July 5, 2020, 8:24pm UTC](https://community.glideapps.com/t/progress-bar-color/12023 "2020-07-05T20:24:27Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 8, 2020, 1:29am UTC](https://community.glideapps.com/t/progress-bar-color/12023/21 "2020-07-08T01:29:35Z")

</div>

I wonder if using some CSS you could target a specific progress bar to change the color of just one component.

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 8, 2020, 9:18am UTC](https://community.glideapps.com/t/progress-bar-color/12023/22 "2020-07-08T09:18:31Z")

</div>

Bravo 👏 👏 👏

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [July 8, 2020, 3:13pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/23 "2020-07-08T15:13:37Z")

</div>

Yes @Robert_Petitto, you can.

Put this code in a Rich Text component:

```
<div style ="position: fixed;
top: 32%;
width: 65%;
height: 2%;
opacity: 1.9;
left: 20%;;
background-color: white; 
border-radius: 10px; 
border: 2px solid #ffffff;">

<div style ="position: fixed;
top: 32%;
width: 45%;
height: 2%;
opacity: 1.9;
left: 20%;;
background-color: red; 
border-radius: 10px; 
border: 2px solid #ffffff;">

```

and later, test it by changing the red bar’s **width** value manually (from 1 to 65%)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/ce58cb5971e4cc0a07e580b62b53d574edd18c45.png)

The problem here is you can do it only when _position= fixed_ otherwise, you must use a 2nd component to get the visual effect.

Saludos!

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [July 10, 2020, 7:52pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/24 "2020-07-10T19:52:01Z")

</div>

@ThinhDinh and @Laurent_Maleville

here you can see my custom progress bars working using basic CSS code

 ![barras](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/a/a0c43f5c476ef11d585262310e1937d842cbe2de.gif)

I hope Glide can give us this feature in a native way soon.

Saludos!

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 10, 2020, 7:59pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/25 "2020-07-10T19:59:03Z")

</div>

please give me the code

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [July 10, 2020, 8:17pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/26 "2020-07-10T20:17:47Z")

</div>

the code is above @Glider, put the code in a Rich Text component and adjust the bar’s width/height setting (later you can use a template and modify the values automatically).

Saludos

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 10, 2020, 8:33pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/27 "2020-07-10T20:33:32Z")

</div>

the one in the picture is different can i have the code o that one

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 10, 2020, 8:53pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/28 "2020-07-10T20:53:44Z")

</div>

Hello!  
You are a GENIUS!  
I will try to make this like you, it’s awesome!!  
Thanks a lot!  
See you next  
Laurent

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 10, 2020, 9:00pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/29 "2020-07-10T21:00:31Z")

</div>

When i try, i have this

 ![Capture d’écran 2020-07-10 à 22.57.42](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/a/a6558d50d227acbee9e05313e2b75cbb053bfa67.png)

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 10, 2020, 9:00pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/30 "2020-07-10T21:00:51Z")

</div>

me too

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [July 10, 2020, 9:12pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/31 "2020-07-10T21:12:13Z")

</div>

use a dark background on your APP to see bars better @Laurent_Maleville

Esto también te puede servir para otras cosas @SantiagoPerez

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 10, 2020, 9:50pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/32 "2020-07-10T21:50:40Z")

</div>

Ok, I use a dark background  
Then, i have this :

 ![Capture d’écran 2020-07-10 à 23.45.31](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/4/48fd25ec8350baaebdf19bf9ced1938ffd7c8dc1.png)

So, i try to understand your work. You give me a code with a bar fixed. Now, i would like to make a dynamic progress bar like.  
Do you create a relation between the rich text and a number entry maybe.  
I see in your app like if the dynamic progress bar is manipulated by a “number entry” component.  
Thanks for your work and your sharing!  
I progress with you (like a progress bar 😃 )

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 10, 2020, 11:43pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/33 "2020-07-10T23:43:23Z")

</div>

Check this out:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/4/4a1c1f5288724babdca2ab5d98b17d3adec9b697.jpeg)

Separate Red and Pink Progress bars! Very specific CSS to your app. Mine was:

```auto
<span><style> div:nth-child(3) .iCpUZF {background-color:red}</span></style> 

```

`child(3)` because the progress bar that I wanted to change was the 3rd component from the top

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 11, 2020, 6:40pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/34 "2020-07-11T18:40:49Z")

</div>

Hello @gvalero,  
Can you share your app with different progress bar because i want to know how you are make it?  
Thanks a lot  
Laurent

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [July 12, 2020, 12:48pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/35 "2020-07-12T12:48:52Z")

</div>

Sure @Laurent_Maleville but give me some time.

I use it as an internal APP where I carry out tests and it’s a little disaster of course.

I’m going to replicate all this in a new test app and erase many useless settings and data to help to understand it better.

I will notify you!

Saludos

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 12, 2020, 12:55pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/36 "2020-07-12T12:55:57Z")

</div>

@gvalero  
Thanks a lot!  
See you next!  
Laurent

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 13, 2020, 6:17am UTC](https://community.glideapps.com/t/progress-bar-color/12023/37 "2020-07-13T06:17:57Z")

</div>

Hello Robert!  
Thanks a lot for your help!  
This is awesome!  
Laurent

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [July 20, 2020, 4:39pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/38 "2020-07-20T16:39:26Z")

</div>

Oh!!! Ya me estoy haciendo ideas de donde y cómo puedo usarlos.

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [July 21, 2020, 7:42pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/39 "2020-07-21T19:42:21Z")

</div>

Hello @gvalero,  
Do you have the time to explain me what are you making the progress bar dynamic?  
Thanks!  
Laurent

---

<div class="post-metadata">

**Author:** ![Bruno\_Sia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bruno_sia/32/12576_2.png) [@Bruno\_Sia](https://community.glideapps.com/u/Bruno_Sia)\
**Post date:** [August 27, 2020, 10:38pm UTC](https://community.glideapps.com/t/progress-bar-color/12023/40 "2020-08-27T22:38:27Z")

</div>

Hi @Robert_Petitto , could I take a look at this Pokemon app? I’m really curious about the battle system, I was planning to do something similar, but more like an RPG, and get stuck on battles, more specifically on how to generate an AI response from my turn. I thought in a bunch of options that will trigger randomly, but I would like to see an pro app like yours to take some ideas.

Thanks in advice 🙏🏻

[Previous page](https://community.glideapps.com/t/progress-bar-color/12023.md?page=1)

[Next page](https://community.glideapps.com/t/progress-bar-color/12023.md?page=3)
