# CSS working on my app view but not on my cell

**URL:** https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629
**Category:** Ask for Help
**Created:** [February 11, 2021, 6:41pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629 "2021-02-11T18:41:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![SERCHMM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/serchmm/32/17243_2.png) [@SERCHMM](https://community.glideapps.com/u/SERCHMM)
#### Post date: [February 11, 2021, 6:41pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629/1 "2021-02-11T18:41:55Z")

</div>

Hello !!

Im new using CSS, and I m having an issue when I change the background, On my app it looks normal, but when I go to my cell all bottons and some text desappears.

Regards !

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/4/741100c6ea82a5e18b9547da97b55466def0ee09.jpeg)

---

<div class="post-metadata">

### Author: ![AymenM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aymenm/32/21370_2.png) [@AymenM](https://community.glideapps.com/u/AymenM)
#### Post date: [February 11, 2021, 6:44pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629/2 "2021-02-11T18:44:34Z")

</div>

Hey !

Thanks for raising your issue with the community. Based on other feedbacks of users with the same situation than you, it looks like the coding of the css (names and stuff like that) are probably not recognised by IOS and android the same way.

Hope this helps.

---

<div class="post-metadata">

### Author: ![AymenM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aymenm/32/21370_2.png) [@AymenM](https://community.glideapps.com/u/AymenM)
#### Post date: [February 11, 2021, 6:45pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629/3 "2021-02-11T18:45:44Z")

</div>

However, there’s a workaround that you may use and hopefully it’ll help you solve the issue :

> [@CSS not working on mobile](https://community.glideapps.com/t/css-not-working-on-mobile/18302/4):
>
> You can use inspect element to check directly in your editor, switching between Android and iOS to see what the class names are. Also please try with Safari.

---

<div class="post-metadata">

### Author: ![SERCHMM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/serchmm/32/17243_2.png) [@SERCHMM](https://community.glideapps.com/u/SERCHMM)
#### Post date: [February 11, 2021, 6:57pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629/4 "2021-02-11T18:57:41Z")

</div>

Thanks a lot !! 😃

I think i got it, I will research about this.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [February 11, 2021, 7:21pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629/5 "2021-02-11T19:21:53Z")

</div>

Just a word of warning. The use of CSS is not officially supported by Glide. As you’ve noticed, some of those class names are just random characters and can be unstable. Some of those class names are different for each type of device, so you would have to program and test for different browsers, operating systems, screen sizes, device color themes, etc. In some cases, those classes can and will change, which will affect how that app looks to all of your user’s.

I don’t want to discourage you, but the use of CSS is kind of a hack to override the design elements that Glide has established to work on all devices. So, it’s good to be sure you understand what you are actually changing when you are applying the codes. I also use some CSS myself, but I only try to use code that has stable class names that are less likely to change in the future, and I only stick to code that has a minimal affect on my app if it were to stop working.

In your particular case, it looks like the Android version has a dark them enabled, so it is causing a lot of the text to become white because it’s expecting a black background. I’m not sure about the buttons disappearing, but it could be an overlay issue where your background image is on top of the buttons.

---

<div class="post-metadata">

### Author: ![SERCHMM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/serchmm/32/17243_2.png) [@SERCHMM](https://community.glideapps.com/u/SERCHMM)
#### Post date: [February 11, 2021, 7:32pm UTC](https://community.glideapps.com/t/css-working-on-my-app-view-but-not-on-my-cell/22629/6 "2021-02-11T19:32:21Z")

</div>

Thanks a lot Jeff !!

It is the first time I use it and only to try to provide another kind of style to my app.

I will avoid to use it, maybe just to have a backgroud to my profile picture and thats all 😅

And yes it has the dark theme that must be!! Thanks for your recommendations !

Regards !!
