Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1403777

    jolinekool
    Participant

    Hi,

    i would like to know the CSS code to underline the submenu items when hover. I can only find the removal code 🙂
    And could you tell me the code to change the color of only 1 main menu item? I would like to change ‘INSCHRIJVEN’ to red, instead of the default used color.

    http://www.testumaar.nl

    thanks!

    #1403789

    Thai
    Moderator

    Hi There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    .desktop .sub-menu li>a:hover {
        text-decoration: underline;
    }
    
    li#menu-item-198 a {
        color: #f00;
    }

    Hope it helps 🙂

    #1424561

    jolinekool
    Participant

    yes it did perfectly, thank you so much. Sorry about the late reply, there is no messaging about a response.

    another question: can I also make the sub menu in capitals?

    tnx!

    #1424583

    Joao
    Moderator

    Hi There,

    Please add the following code :

    .desktop .sub-menu li>a {
        text-transform: capitalize:
    }

    Hope it helps

    Joao

    #1424680

    jolinekool
    Participant

    hm, doesn’t change anything really…

    #1424950

    Friech
    Moderator

    Hi There,

    You mean all letters on uppercase? Please update the given CSS to this:

    .desktop .sub-menu li > a {
        text-transform: uppercase;
    }

    Another thing, the last media query css you have on customizer is missing a closer bracket.

    @media (max-width: 979px) {
    .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right {
    position: fixed;
    }

    Make sure you add the missing bracket.

    Thanks,

    #1426200

    jolinekool
    Participant

    Great! Worked perfect, tnx! Also abou the missing bracket!

    #1426229

    Jade
    Moderator

    You’re most welcome.