Style custom link in menu

Home Forums WordPress Themes – Premium Flat Responsive Style custom link in menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17247
    Tane
    Participant

    http://maelwryth.com/
    user = testuser
    pass = Zse45rdX

    If you go to the Energy drop down menu I have added Hot Water and Power Generation as a custom link # and stylised it using
    #menu-item-516 a {
    color: #fff;
    background-color: #5cb8e7;
    }
    #menu-item-517 a {
    color: #fff;
    background-color: #5cb8e7;
    }
    But I can’t seem to stop them changing color when I mouse over them. I want them to not change on a:hover.

    #22723
    Sushil Adhikari
    Moderator

    Hi there,

    You can change color of submenu from customizer setting. For this
    Go to dashboard->appearance->customize->Header setting->Navigation colors -> submenu hover background color.

    You can see many customize setting for navigation color which will reduce custom code.

    Let us now if you get any problems on this, we will be more than glad to assist you.

    Thanks

    #22727
    Tane
    Participant

    Yes, but if I only want to change the colour of one menu item? Not all of them?

    #22735
    Sushil Adhikari
    Moderator

    Hi Tane,

    oh you need to change color for the specific pages on hover. For this you can take this example for the reference:

    Here is the illustration for menu id #menu-item-516

    #menu-item-516 a:hover {
    
    background-color: #5cb8e7 !important;
    }

    Let us know if we are understanding fully or perhaps this is not what you meant for.

    Thanks

    #22803
    Tane
    Participant

    Yip, that did it. I ended up using this top stop the cursor change as well. Thank you.

    #menu-item-704 a {
    color: #fff;
    background-color: #5cb8e7;
    }

    .no-hover a:hover {
    background: transparent;
    cursor: default;
    }

    #17248
    Binaya D
    Participant

    Hi Tane,

    You are welcome, if you face any problem in further, then please let us know.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.