Anyone tell me what to add to user.css to change the asterisk color.
<span class="form-control-feedback text-danger">
<i class="fas fa-asterisk">
Thanks
changing asterisk color?
- Kofod95
- VIP Member
- Posts: 612
- Joined: Sat Feb 06, 2021 7:38 pm
- Has thanked: 80 times
- Been thanked: 142 times
Re: changing asterisk color?
As I remember it, the color comes from text-danger and has an !important;, so you need to target text-danger with an !important added. What you use to limit it to that asteriks alone, is up to you - I would probably go for the div just before the lines you have copied, just to make sure only to change that one
//Daniel
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
- VIP Member
- Posts: 2025
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: changing asterisk color?
Code: Select all
.form-control-feedback.text-danger .fa-asterisk{ /* target element with class fa-asterisk that is descendant (could be child or grand-child) of element with class form-control-feedback and text-danger */
color: blue !important; /* set font color */
}