font awesome problem
Posted: Wed Aug 16, 2017 6:36 pm
hello guys , could someone guide me with fontawesome ?
example code :
if i did it this way , the fa icon doesn't appears
but if i did this way it appears
although i wanna use it the first method , because it fit the need of style of a new theme i am creating , cold someone help ?
example code :
Code: Select all
<?php
if($Site->twitter()) {
echo '<a class="list-group-item" href="'.$Site->twitter().'"<i class="fa fa-twitter fa-fw"</i> Twitter</a>';
}but if i did this way it appears
Code: Select all
if($Site->facebook()) {
echo '<li><a href="'.$Site->facebook().'" class="fa fa-facebook"><span class="label"> Facebook</span></a></li>';
}
although i wanna use it the first method , because it fit the need of style of a new theme i am creating , cold someone help ?