-
AuthorPosts
-
August 9, 2014 at 4:09 pm #81424
Zach WParticipantHi there-
Trying to add icons into topbar
Ex. phone icon then #
[icon type=”map-marker”] shortcode is not working
Thanks
August 9, 2014 at 4:19 pm #81431
RadModeratorHi Zach,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have have provided us with your URL, we will be happy to assist you with everything.
August 10, 2014 at 7:05 am #81608
Zach WParticipantThis reply has been marked as private.August 10, 2014 at 7:47 am #81625
ChristianModeratorHey Zach,
Shortcode isn’t allowed in the Topbar. To add an icon, please use HTML. You can use the format
<i class="x-icon-home"></i> TextChange
hometo Icon Type listed at http://theme.co/x/demo/integrity/1/shortcodes/icons/Thanks.
August 10, 2014 at 9:19 am #81657
Zach WParticipantok great. Thanks a lot
August 10, 2014 at 9:28 am #81663
ChristopherModeratorYou’re welcome 🙂
January 30, 2016 at 8:42 am #771966
jaynewayneParticipantThis reply has been marked as private.January 30, 2016 at 8:56 pm #772526
Rue NelModeratorHello There,
Thanks for updating this thread! To show the icons in your site, please enable the Legacy Font classes in the Cornerstone settings. You may go to Settings > Cornerstone.
Hope this helps. Please let us know how it goes.
April 5, 2016 at 12:18 am #867099
GnylfParticipantHello
Sorry for bumping, but how to enable Legacy fonts in latest Cornerstone? I cant find the setting and i need to use icons in top menu.
Thx
April 5, 2016 at 8:09 am #867590
Paul RModeratorHi,
Please add the code below in your child theme’s functions.php file.
add_filter('x_option_x_topbar_content', 'do_shortcode');The code will activate shortcodes in the topbar.
You can then use the icon shortcode to display any icons in your topbar content.
http://theme.co/x/demo/integrity/1/shortcodes/icons/
Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-81424 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
