Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1270446
    Mastres
    Participant

    Hi, i want to add icons on the second level navigation, but smaller than first level. I can’t do it with superfly adjust.

    I try with x-theme icons but don’t show it <i class=”x-icon x-icon-music”></i> Música

    Also i try change size with CSS but don’t work

    Any solution?

    Regards

    #1270471
    Paul R
    Moderator

    Hi,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1270644
    Mastres
    Participant
    #1270650
    Joao
    Moderator

    Hi There,

    To use the Icon music you need to add:

    <i class="x-icon x-icon-music" data-x-icon="" aria-hidden="true"></i>

    You can find all icons here: http://demo.theme.co/integrity-1/shortcodes/icons/

    To get this code you need to inspect the icons with the right button of your mouse.

    Let us know if you need help with anything else,

    Joao

    #1271339
    Mastres
    Participant

    Don’t work, i don’t know how to erase the superfly icon selected.

    I try to create another submenu item without superfly icon and don’t show the icon of x-theme

    #1271345
    Christopher
    Moderator

    Hi there,

    Please remove menu item and add it back to remove the icon.

    Thanks.

    #1271659
    Mastres
    Participant

    I did it, you can see in screenshots, its the link below, and don’t work x-them icon

    #1271847
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in!

    To make this code <i class="x-icon x-icon-music"></i> Música, please add this line in your child theme’s functions.php file

    
    add_filter( 'cornerstone_legacy_font_classes', '__return_true' );

    As I am checking your site, the icons is showing:

    Hope this helps.

    #1272922
    Mastres
    Participant

    Hi, i have add the line in function.php and don’t works…

    You can see it in another submenu, in the screenshot that you show me the icons are from superfly menu and I can’t do it smaller

    #1272928
    Christopher
    Moderator

    Hi there,

    Icons need data-x-icon attribute, please update your code to :

    <i class="x-icon-music" data-x-icon="& # x f001 ;"></i>

    Please check this link : https://theme.co/changelog/#theme-4-0-0

    Please remove the spaces from & # x f001.

    Hope it helps.

    #1273010
    Mastres
    Participant

    Still don’t work…

    Is there any way to change size icon on the second level with css?

    #1273026
    Paul R
    Moderator

    Hi,

    Can you provide us your wordpress admin login in private reply.

    To change the size of the icon, you can add this under Custom > CSS in the Customizer.

    
    #sfm-sidebar .sfm-menu .la_icon {
        font-size: 22px;
    }
    

    Hope that helps.

    #1273038
    Mastres
    Participant

    With this works 🙂
    Thanks

    #1273050
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1270446 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>