I know if my question seems strange but i found a weird behavior when using fontawesome, usually it always shows up when i'm using it and i'm already read the Docs and some of the answer that i read in here doesn't solve my problem
source that i already try :
FontAwesome icons not showing. Why?
why some of the font-awesome icons does not show
Font awesome is not showing icon
all of the answer in there doesn't solve my problem.
in stylesheet i'm using external link from fontawesome
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
This is what i want to show:
<div id="whatsapp-go"><a target="_blank" href="#"><i class="fab fa-whatsapp"></i></a></div>
<div id="back-to-top"><i class="fas fa-arrow-up"></i></div>
the only one that appear is the arrow but not with the whatsapp icon
image of the icon doesn't show up
but when i'm using it in another element it shows without any problem
here the code that the icon shows up :
<ul class="footer-follow">
<li>
<a class="icon-color btn-floating btn-sm mx-1" target="_blank" href="#"><i class="fa fa-envelope-square fa-2x" alt="#"></i></a>
</li>
<li>
<a class="icon-color btn-floating btn-sm mx-1" target="_blank" href="#"><i class="fab fa-whatsapp fa-2x"></i></a>
</li>
<li>
<a class="icon-color btn-floating btn-sm mx-1" target="_blank" href="#"><i class="fab fa-instagram fa-2x"> </i></a>
</li>
<li>
<a class="icon-color btn-floating btn-sm mx-1" target="_blank" href="#"><i class="fab fa-linkedin fa-2x"></i></a>
</li>
<li>
<a class="icon-color btn-floating btn-sm mx-1" target="_blank" href="#"><i class="fab fa-youtube fa-2x"></i></a>
</li>
</ul>
can someone help me in this?
CSS file :
/*------------------------------------*\
Back to top
\*------------------------------------*/
#back-to-top {
display:block;
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
background: #0bb89e;
border-radius:50px;
color: #FFF;
z-index: 9999;
-webkit-transition: 0.2s opacity;
transition: 0.2s opacity;
cursor: pointer;
}
#back-to-top:hover {
opacity: 0.8;
}
/*------------------------------------*\
Whatsapp-go
\*------------------------------------*/
#whatsapp-go {
display:block;
position: fixed;
bottom: 80px;
right: 20px;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
background: #0bb89e;
border-radius:50px;
color: #FFF;
z-index: 9999;
-webkit-transition: 0.2s opacity;
transition: 0.2s opacity;
cursor: pointer;
}
#whatsapp-go:hover {
opacity: 0.8;
}
It's there it's just that the whatsapp icon is a child of the <a>
tag and links are set to the same green as the background:
Set the font color to be white.
#whatsapp-go a {
color: white;
}