Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1264777
    piexec
    Participant

    http://maddog.piexec.com/

    on the children of Products, how can I get those links to change to color #333 on hover?

    Thanks in advance.

    #1264884
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    .x-navbar .desktop .sub-menu li > a:hover {
      color: #333;
    }

    Hope this helps.

    Cheers!

    #1273427
    piexec
    Participant

    It does. How about also changing the background of the hovered area to Red?

    #1273456
    Thai
    Moderator

    Hi There,

    Please update the previous CSS to this:

    .x-navbar .desktop .sub-menu li > a:hover {
        color: #ccc;
        background: #ce0303;
    }

    Hope it helps 🙂

    #1276127
    piexec
    Participant

    Perfect! How can I add a little left padding to the sub menu items so the red is not right on the edge of the text?

    #1276134
    Joao
    Moderator

    Hi There,

    Your site seems to be out at the moment, so it is hard to give you a tailored solution, but try:

    .x-navbar .desktop .sub-menu 
    padding: 10px;
    }

    Hope that helps

    Joao

    #1277622
    piexec
    Participant

    sorry. The live site is now at: http://maddogtransmissions.com/

    I added that, but the red background is still up against the text.

    #1277652
    Nabeel A
    Moderator

    Hi again,

    Please add the following code in your Customizer:

    .desktop .sub-menu li>a {
        padding: 0.5em 10px !important;
    }

    Let us know how this goes!

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