Page 1 of 1

changing asterisk color?

Posted: Fri Sep 24, 2021 7:33 pm
by Dnj1964
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

Re: changing asterisk color?

Posted: Fri Sep 24, 2021 8:25 pm
by Kofod95
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

Re: changing asterisk color?

Posted: Sat Sep 25, 2021 6:05 am
by heatherbell
Dnj1964 wrote: Fri Sep 24, 2021 7:33 pm 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

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 */
}