I've been attempting to adjust the color of the multiplier x 1.2, but I can't seem to override the CSS rule! Despite making changes, they aren't being reflected. Here's what I'm trying to achieve.
My goal is to modify the color of the highlighted text in the image, yet I'm encountering difficulties. I'm unsure where I'm going wrong.
https://i.sstatic.net/HQYEC.png
Fiddle: https://jsfiddle.net/snake93/mfhvs6xp/120/
The code
.opth {
font-family: Roboto;
font-size: 15px;
font-weight: 600 !important;
color: #2f354c !important;
background: #fff !important;
}
.opt {
background: #fff !important;
font-family: Roboto;
font-size: 13px;
font-weight: 500 !important;
color: #5f6a91 !important;
}
.filter-option {
font-family: Roboto;
font-size: 14px;
font-weight: 500 !important;
color: #5f6a91 !important;
}
.opt:hover {
background: #F6F7F7 !important;
color: #2f354c !important;
}
.btn {
border-radius: 0px !important
}
.dropdown .bootstrap-select .dropdown-toggle:focus, .dropdown .bootstrap-select>select.mobile-device:focus+.dropdown-toggle, .dropdown .btn:not(:disabled):not(.disabled) {
outline: none !important;
}
.dropdown.bootstrap-select.a_level {
border: 1px solid #DCDCDE;
}
/*--CSS Moltiplicatore x1.2--*/
.txt-muted {
color: #0d75d2!important;
}
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<!--BootStrap Select-->
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.18/css/bootstrap-select.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.18/js/bootstrap-select.min.js"></script>
<!--BootStrap-->
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="30525f5f44434442514070041e061e00">[email protected]</a>/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.0/css/bootstrap.min.css">
<div class="container_level">
<select class="a_level" id="a_level" form="bmrcalc" name="activ_level" data-show-subtext="true" data-width="100%">
<option class="opth" value="0">Stile di vita / Attività fisica</option>
<option class="opt" id="leggeros" name="radiosa" value="1.2" data-subtext="Moltiplicatore x 1.2">Sedentario, Smart Working, studio, pochi passi al giorno</option>
<option class="opt" id="attivos" name="radiosa" value="1.375">Leggero, Attività fisica moderata, Corsa, fitness 1-3 Day x Week (1.375) </option>
<option class="opt" id="allenatos" name="radiosa" value="1.55">Moderato, Operaio edile, Allenamenti intensi 4-5 Day x Week (1.55)</option>
<option class="opt" id="Mattivos" name="radiosa" value="1.75">Attivo, Lavori pesanti, Bodybuilding, Powerlifting 6-7 Day x Week (1.75)</option>
<option class="opt" id="Eattivos" name="radiosa" value="1.9">Estremamente attivo, Atleta, programma di allenamento intenso 6-7 Day x Week (1.9)</option>
</select>
</div>
<script>$('.a_level').selectpicker();</script>