Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1302710
    Bark201
    Participant

    I read in the forum that by adding i class to the nav item and icon would appear. I tried that based on what I read in the forum and its not working. I noticed that after saving it wordpress removed the < >.

    I am trying to add a lock icon to one of the nav items. If you can please provide the css to get it to work that will be great as I may be doing something wrong. Also, I want to customize the size of the icon and its color, please let me know how to get this done.

    Thanks.

    #1302731
    Bark201
    Participant

    Forget the icon, I just want to change the color of the menu item and the hover color just for that. I am not sure how to do it in CSS (I know its easy but my CSS knowledge is limited).

    The nav menu item id is 27709.

    #1302736
    Bark201
    Participant

    I know its something like that but how do I change the hover color as well?

    #menu-item-27709 a{
    color: #00EE00 !important;
    }
    #1302760
    Joao
    Moderator

    Hi There,

    Please add the following code

    #menu-item-27709 a:hover {
    color: #00EE00;
    }

    Hope it helps

    Joao

    #1302770
    Bark201
    Participant

    Thanks but how do I set the color first and then the hover color?

    #1302799
    Darshana
    Moderator

    Hi there,

    To set a color first, add the following CSS rule.

    
    #menu-item-27709 a {
    color: #336699;
    }
    

    Hope that helps.

    #1302817
    Bark201
    Participant

    Im so dumb sometimes, thank you.

    #1302844
    Prasant Rai
    Moderator

    You are most welcome. Feel free to ask us again. Have a great day! 🙂

    #1303841
    Bark201
    Participant

    Ok, I changed my mind, I will need a lock icon on that menu item. What Im trying to do is have the lock’s color the same as the menu item and then when its hovered on to change with them item menu color. I already have the CSS for the menu item, I just need to add a lock icon next to it with the same CSS.

    The unicode for the lock is &XX#xf023; (remove the XX)` if needed. Please help.

    DO NOT TAKE ANY SCREENSHOTS OF MY SITE AND POST IT IN PUBLIC, ONLY PRIVATE.

    #1303925
    Christopher
    Moderator

    Hi there,

    Please add <i class="x-icon-lock" data-x-icon=""></i> in menu item label field.
    To add or change icons, check this link https://theme.co/changelog/#theme-4-0-0

    Hope it helps.

    #1303945
    Bark201
    Participant

    Thank you, that did it. Last thing on the nav menu item, how do I control the font weight of that specific menu item?

    #1303968
    Thai
    Moderator

    Hi There,

    Please update the CSS to this:

    #menu-item-27709 a {
    	color: #336699;
    	font-weight: 600;
    }

    Hope it helps 🙂

    #1303975
    Bark201
    Participant

    Thank you. I tried that and it didnt seem to work. Any ideas?

    #1304046
    Nabeel A
    Moderator

    Hi again,

    Can you please provide the URL of your site so we can take a closer look?

    Thanks!

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