I am facing an issue that I cannot quite decipher and solve.
The design includes a Bootstrap Sidebar with menu titles in <h5>
tags along with submenus.
The titles have a background-color
of #454545
and the text color should be white
.
While everything appears as expected on Firefox, Safari seems to have trouble displaying the text color correctly. Changing the text color only affects the glyphicon color.
HTML
<ul class="list">
<li style="list-style: none; display: inline">
<h5><strong><span class="glyphicon glyphicon-file"></span> Actes Etat Civil</strong></h5>
</li>
<li>
<a href="{%%20url">Fiches Identités</a>
</li>
<li>
<a href="{%%20url">Actes de Naissance</a>
</li>
<li>
<a href="{%%20url">Actes de Reconnaissance / Adoption</a>
</li>
<li>
<a href="{%%20url">Actes de Mariage</a>
</li>
<li>
<a href="{%%20url">Actes de Divorce</a>
</li>
<li>
<a href="{%%20url">Actes de Décès</a>
</li>
</ul>
CSS
.list > h5 {
color : white;
padding: 2% 0% 2% 5%;
background-color: #454545 !important;
font-size: 25;
}
Screenshot from Firefox :
https://i.sstatic.net/qVM99.png
Screenshot from Safari :