So I have a list that starts with a FontAwesome icon and then some text, which I'm trying to style individually (size and color). For example I want the Skype icon to be #00abeb in color
This is the HTML code:
<ul class="contact-entries">
<li class="icon-mobile-phone">Mobile</li>
<li class="icon-phone">Landline</li>
<li class="icon-skype contact-skype"><a href="skype:misc?chat">misc</a></li>
<li class="icon-envelope-alt"><a href="mailto:contact@misc.org" title="Email">contact@misc.org</a></li>
<li class="icon-map-marker">Address</li>
</ul>
The main CSS styling is this:
.contact-entries > li { position:relative; }
.contact-entries > li:before { position:absolute; left:0; top:0; color: white; font-size:20px; }
And I created this myself to change the size and color of the Skype icon, but it won't work:
.contact-skype {
color: #00abeb !important;
font-family: Helvetica,Arial,sans-serif;
font-size: 18px !important;
}
Any ideas?