Viewing 15 replies - 1 through 15 (of 18 total)
  • Hello @rosabifulco23,
    Can you please elaborate your question? Would you like to have different icons appearing on every primary menu item or same icon , it’s unclear. Also you haven’t mention about the position of icon.

    Regards

    Thread Starter rosabifulco23

    (@rosabifulco23)

    I Would like to have different icons appearing on every primary menu item with text after the icon.I added the icons in the footer menu with a plus one, but in the main menu does not appear.
    Can You help me?

    Hi rosabifulco23
    Can you share your site url?

    Thread Starter rosabifulco23

    (@rosabifulco23)

    Hello @rosabifulco23,
    To show the feature you requested it needs customization to the theme. The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    https://codex.wordpress.org/Child_Themes
    https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/
    http://op111.net/53/
    https://vimeo.com/39023468

    I will tell you what to do next after you successfully activate the child theme of WEN Business.

    Thanks.

    Thread Starter rosabifulco23

    (@rosabifulco23)

    I already use a child theme

    Hello @rosabifulco23,
    Put the following sample code inside your child theme’s style.css.

    #menu-primary-menu-1 li a:before {
    	font-family: FontAwesome !important;
    	padding-right:15px !important;
    display: block;
    position: absolute;
    top:0;
    left:0;
         font-size: 18px;
    }
    
    .menu-item-16 a:before {
    	content: "\f015" !important;
    	color: #ff0000;
    
    }

    This code is not enough, you have to insert font awesome icon for every menu item. Also take care of responsiveness.

    Regards.

    Thread Starter rosabifulco23

    (@rosabifulco23)

    Hi Madhusudan@WEN

    I entered the code , but does not work.

    I see the icons on smartphones.

    If i don’t insert the code, i see the icons on smartphone too

    Hello,
    Try replacing #menu-primary-menu-1 of the code above by #menu-principale-1.
    It is working fine for the desktop devices. However, you need to customize the code for the responsive part to work on the mobile devices.

    Thread Starter rosabifulco23

    (@rosabifulco23)

    I did not understand your suggestion.
    I tried but it does not work. 🙁

    on the mobile devices it’s ok

    Hello,
    Try following code instead in the bottom of child theme’s style.css

    #menu-principale-1 li a::after {
    font-family: FontAwesome ;
    position: absolute;
    top:0;
    left:0;
    font-size: 18px;
    }
    
    .menu-item-784 a::after {
    	content: "\f015" !important;
    	color: #ff0000;
    }

    You may consider disabling current menu-iconsplugins to try the above CSS in previous state.

    Thread Starter rosabifulco23

    (@rosabifulco23)

    icons do not show but it seems a good solution .
    I did not understand your advice ?

    Hello @rosabifulco23,
    There is no problem with the original WEN Business Theme by using above code to show font awesome icon as shown in the attached screenshot:
    http://prnt.sc/a9c6fq

    This is plugin issue since your site is using menu-icons plugin. So the best way that you could get answer is by posting question in the plugins support:

    https://wordpress.org/support/plugin/menu-icons

    If you have any query feel free to ask.
    Regards.

    Hello @rosabifulco23,
    How are you doing? It seems you are still having problem on displaying menu icon on primary menu, right?
    It’s good news for you. I have figured out the plugins issue that is preventing the icons from appearing on desktop devices.

    You’ve to make minor change in the theme file.

    1. Go to style.css using FTP and File Zilla. If you find that difficult you might change the file going to Appearance-> Editor -> Style.css. But if you make any error while making changes, your site might go down.

    2. Inside your style.css go to Line No. 559 and delete the line

    content: “”;

    Refer to this attached screenshot:
    http://prnt.sc/aa7ats

    3. Now, Save/ Update the File.

    It should show the menu icons now.
    Let me know how it goes.

    Thread Starter rosabifulco23

    (@rosabifulco23)

    Hello Madhusudan@WEN
    Thank you for the answer

    I use a child theme, I remove the line in style.cc WEN Business template.
    Now I see the icon menu, but I do not see the icons in the footer social and the basic icons of template.

    if I enter again the code line in the style file , the error No goes away

    Can you help me please

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Menu icon’ is closed to new replies.