Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1090573
    yhshin1020
    Participant

    Hey,

    I’m using the icon theme for X.

    Currently, when i hover over the nav items on the header, it creates an outline on the item.

    I want it such that there is no outline, and the text turns from black to grey upon mouse hover.

    Is this possible?

    #1090574
    yhshin1020
    Participant
    This reply has been marked as private.
    #1090576
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    a:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus {
        outline: none;
    }
    .x-navbar .desktop .x-nav>.x-active>a>span, .x-navbar .desktop .x-nav>.current-menu-item>a>span {
        color: #efefef;
    }
    

    Hope that helps.

    #1090585
    yhshin1020
    Participant

    Hey,

    It did not seem to work.

    Could you check again?

    #1090591
    Nabeel A
    Moderator

    Hi again,

    Please add the following code in your Customizer:

    .x-navbar .desktop .x-nav>li>a>span {
        border: none !important;
        color: #dad6d6 !important;
    }

    Let us know how this goes!

    #1090632
    yhshin1020
    Participant

    Hey,

    how do i make it so that the text turns black when the mouse is hovered?

    thanks

    #1090671
    Thai
    Moderator

    Hi There,

    Please also add this CSS:

    .x-navbar .desktop .x-nav>li>a>span:hover {
        color: #000 !important;
    }

    Hope it helps 🙂

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