Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #905121
    alovelyagency
    Participant

    Having trouble changing the icons. When I uses use this CSS in the customizer:

    .x-navbar .desktop .x-nav li > a > span::after {
      content: "\f107";
    }

    Menu items with subnav displays the text “f107” instead of the icon.

    Any ideas?

    #906040
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! That is because when you add a backslash (\) to your customizer, it will remove one when you save every-time. As a temporary fix you can add the same code with two backslashes, so it will remain one when saving.

    .x-navbar .desktop .x-nav li > a > span::after {
      content: "\\f107";
    }

    The best solution is to setup a child theme (https://community.theme.co/kb/how-to-setup-child-themes/) and add your custom CSS into your child theme’s style.css file.

    Thanks!

    #906130
    alovelyagency
    Participant

    We’ll get a child theme set up at some point soon, but this did the trick in the meantime!

    Thanks a padilion!

    #906893
    Christopher
    Moderator

    You’re welcome.

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