For some reason the icon does not change colour to red. It remains white/grey.
Does anyone know how to change colour to red?
.sidebar .nav-item .nav-link[data-toggle=collapse]::after {
color: red;
width: 1rem;
text-align: center;
float: right;
vertical-align: 0;
border: 0;
font-weight: 900;
content: '\f107';
font-family: 'FontAwesome';
}
There are heaps of other questions that do NOT refer to the "CSS Pseudo-elements" which is the type that i am using.