Tagged: x
-
AuthorPosts
-
May 4, 2016 at 5:00 pm #913313
zendog22ParticipantHI, I’m wondering if it’s possible to change the colour of my social media icons in my footer.
The code in there is currently:
<div class=”footer-social”> [x_icon style=”font-size: 1.5em; color: #415968; type=”linkedin-square”] Join us on LinkedIn
[x_icon style=”font-size: 1.5em; color: #415968; type=”twitter-square”] Follow us on on Twitter </div>It’s green because that’s the site’s link colour. But can’t see that colour in footer.
Wonder if you can help please?May 4, 2016 at 5:00 pm #913315
zendog22ParticipantAs per my request above, the site address is http://kentishandco.staging.wpengine.com/
many thnaks
May 4, 2016 at 10:51 pm #913715
FriechModeratorHi There,
Thank you for writing in! You can add this under Custom > Global CSS in the Customizer.
.top .footer-social a i {color: red;} .top .footer-social a:hover i {color: #B2CC39}The first line is the default color, the second line is the hover color.
Hope it helps, Cheers!
June 3, 2016 at 12:50 pm #1024532
zendog22ParticipantThanks for this. I’m also wondering how to add a link to text. It’s not quite this code but must be close?
.top .footer-link a i {color: #000;}
.top .footer-link a:hover i {color: #B2CC39}June 3, 2016 at 11:03 pm #1025209
Rue NelModeratorHello There,
To add a link to the text, please edit your code and use this instead:
<div class="footer-social"> <a target="_blank" href="https://www.linkedin.com/in/" rel="nofollow"> [x_icon style="font-size: 1.5em; color: #415968; type="linkedin-square"] Join us on LinkedIn </a><br> <a target="_blank" href="https://twitter.com/" rel="nofollow"> [x_icon style="font-size: 1.5em; color: #415968; type="twitter-square"] Follow us on on Twitter </a> </div>Hope this helps. Kindly let us know.
June 4, 2016 at 6:18 am #1025534
zendog22ParticipantHi, thanks for this, it changes the link to green though which is my site’s link colour but doesn’t look great in the footer. Is it possible to have the text that is to be linked appear as the colour #415968?
many thanksJune 4, 2016 at 9:00 pm #1026171
Rue NelModeratorHello Again,
If you want to make the text as link, this is the only way. You need to use this code:
<div class="footer-social"> <a target="_blank" href="https://www.linkedin.com/in/" rel="nofollow"> [x_icon style="font-size: 1.5em; color: #415968; type="linkedin-square"] Join us on LinkedIn </a><br> <a target="_blank" href="https://twitter.com/" rel="nofollow"> [x_icon style="font-size: 1.5em; color: #415968; type="twitter-square"] Follow us on on Twitter </a> </div>And of course the color of the text would change because it is now a link. In order to change it back the color, you’ll also need to apply a custom css. In your case, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.x-colophon.top .footer-social a { color: #000; } .x-colophon.top .footer-social a:hover { color: #B2CC39; }And you’ll have something like this:

And when it is hovered:

Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-913313 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
