I’ve been frustratingly trying to change a few bits and pieces in a card layout in my app.
The best I’ve managed sofar is to get the background to overwrite everything…
I’ve seen a few in here restyling cards, and been trawling the forum to see if I can find some CSS snippets can help me targets what I want.
Possible anyone can point me in the right direction?
I just want to change the text color and background color, sofar I can change the background color, but it also takes out my text, and it does not seem like I’m targeting the text color in the right way (when I eliminate the CSS for the background color there is no color change to the text).
What I have sofar is this:
<pre><span><style>
[data-test="card-item-header"] >div {
color: red !important;
}
[data-test="card-item-title"] >div {
color: red !important;
}
[data-test="card-item-subtitle"] >div {
color: red !important;
}
[data-test="card-item"] >div {
background: #efede0 !important;
}
Pages have many different components compared to apps, so at least you would expect different class names. Then, the structure of the components in there is different as well (list styles, collection etc).