Tagged: x
-
AuthorPosts
-
June 8, 2016 at 3:34 am #1031462
robvandalenParticipantHi,
after reading several posts, e.g. like these: https://community.theme.co/forums/topic/adding-icon-in-top-menu/page/2/#post-633896
I tried to add a linkedin icon as a menu item on my site, but I cannot seem to get it working.
I use this in the navigation label:
<i class=x_icon type=”linkedin-square” data-x-icon=””></i>
What goes wrong?
June 8, 2016 at 3:35 am #1031464
robvandalenParticipantThis reply has been marked as private.June 8, 2016 at 9:21 am #1031917
ThaiModeratorHi There,
Please try with this instead without spacing in the data-x-icon value:
<i class="x-icon" data-x-icon="&# xf08c;"></i>You can find all the icon cheatsheet in this link: http://fontawesome.io/cheatsheet/.
Hope it helps.
June 8, 2016 at 2:45 pm #1032543
robvandalenParticipantBrilliant.
You guys are rockstars.June 8, 2016 at 3:03 pm #1032576
robvandalenParticipantIn relation to this, can I adjust the size of the icon? It’s just a bit small in ‘standard’ mode, yet I need it to still be in line horizontally with the other menu items.
Thanks in advance!
June 8, 2016 at 8:43 pm #1033033
FriechModeratorHi There,
You can adjust its size and padding to align it with the other menu.
#menu-item-199 a { font-size: 1.2em; padding-top: 32px; }You can add this under Custom > CSS in the Customizer.
Hope it helps, Cheers!
June 10, 2016 at 3:41 am #1035539
robvandalenParticipantYES!
Thank you 🙂
June 10, 2016 at 6:33 am #1035704
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1031462 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
