Hi can anyone tell me if it’s possible to change the color of one button in the app, the app theme is Green I would like a 1 Red button
Yes, check this app, you will find many tricks like that there
Yes we have different colours in our app but it was changed with CSS
Hi @Nigel_Mendoza!
Insert this into a rich text component.
<pre><span><style>
[data-test="app-button-view"] {
background: red !important
just updated code book with this one. but he want a specific button, this code is changing all buttons
Thank s but yes it’s changing all buttons. I have four buttons on the main page I would like to change only one of the buttons to red.
Changing only one button’s color is not possible (I’m 99% sure)
@Lucas_Pires Am i right?
Actually, we can using this workaround:
Replacing the “See All” class to button’s class and the order of the component:
<pre><span><style>
div[id*='screenScrollView'] > div > :nth-of-type(4) button {
background-color: red;
color: yellow;
}
Thats Perfect thanks
Enjoy it
This codebook is awesome thank you for the link
How do you code to customize button colors