Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I am using ttg_social_top for my social media icons and I can set the color just fine but haven't been able to figure out how to change the size. I've tried both fa-lg in the class= and font-size-200%; in the style= and neither have any effect.
Thanks.
function ttg_social_top ( $style, $path ) {
echo '
<li><a target="_blank" href="http://www.facebook.com/stalkinglight" title="Follow on Facebook" class="social_media fa fa-facebook-official" style="color:#3b5998" id="social_media_01"></a></li>
<li><a target="_blank" href="http://www.instagram.com/stalkinglightphoto" title="Follow on Instagram" class="social_media fa fa-instagram" style="color:#f56040" id="social_media_02"></a></li>
<li><a target="_blank" href="http://www.twitter.com/stalkinglight" title="Follow on Twitter" class="social_media fa fa-twitter" style="color:#1da1f2" id="social_media_03"></a></li>
<li><a target="_blank" href="https://plus.google.com/+CharlieChoc" title="Follow on Google Plus"class="social_media fa fa-google-plus-official" style="color:#dd4b39" id="social_media_04"></a></li>
';
return false;
}
Charlie
www.stalkinglight.com
Offline
try something like this, it seems to work:
<li><a target="_blank" href="http://www.facebook.com/stalkinglight" title="Follow on Facebook" class="social_media fa fa-facebook-official" style="color:#3b5998; font-size: 2em;" id="social_media_01"></a></li>
don't forget the semi-colon after all css declarations.
font-size: 200%; also worked for me (not font-size-200%)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
The extra dash was a typo but I did forget the semi after the color. Thanks.
Charlie
www.stalkinglight.com
Offline
Pages: 1