Tagged: x
-
AuthorPosts
-
November 4, 2016 at 3:09 pm #1244259
AntoineParticipantHello,
I am trying to have an icon in the navbar and tried a custom link with <i class=”x-icon x-icon-home”></i> but all I get in a clickable blank space. How do i manage to get the icon shows up?
Thanks,
AntoineNovember 4, 2016 at 3:19 pm #1244266
JoaoModeratorHi Antoine,
Please use this code instead:
<i class="x-icon x-icon-home" data-x-icon="" aria-hidden="true"></i>Hope that helps
Joao
November 5, 2016 at 3:58 am #1244834
AntoineParticipantThank you Joad, it worked.
I now have the problem that the icon is not aligned with the rest of the menu. How can I fix it?

Is there also a way to change the distance between the icon and the line underneath (the distance is slightly larger than on the rest of the menu, probably due to the space included in the icon)?
Thank you in advance for your help!
AntoineNovember 5, 2016 at 5:32 am #1244883
ThaiModeratorHi Antoine,
Please provide us with your website URL so we can take a closer look.
Thanks.
November 5, 2016 at 5:51 am #1244904
AntoineParticipantThe URL is http://www.kyani.co
November 5, 2016 at 6:56 am #1244969
FriechModeratorHi There,
You can add this under Custom > CSS in the Customizer.
.x-navbar .desktop .x-nav > li.menu-item-99 > a {padding-top: 10px;}Hope it helps, Cheers!
November 5, 2016 at 7:04 am #1244971
ThaiModeratorHi There,
Please add the following CSS:
li#menu-item-99 a { padding-top: 12px }Hope it helps 🙂
November 5, 2016 at 9:09 am #1245039
AntoineParticipantIt works just fine, thanks!
November 5, 2016 at 10:10 am #1245075
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1244259 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
