Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #928788

    Hi,

    I have asked already for help and got a solution for it.

    Namely: if I style the menu items accordingly to the color scheme I’m using than I set the color like:

    #av-burger-menu-ul .avia-menu-text {
    &:hover {
        color: black!important;
      }
    font-size:18px!important;
    font-family:PT Sans!important;
    color: #df8020!important; 
    }

    with the intention that every menu item has orange background color but when hover the color of the text should change into black. This works quite well if I do it like
    #av-burger-menu-ul:hover, .avia-menu-text:hover { ...
    but this does NOT color the text if the mouse cursor is not exactly over the text, i.e. this class. I add the .a with a comma, but than all anchors are colored as well.

    So, what is the correct styling to have correctly specified the colors with hover effect? (Plz still the initial problem is solved)

    thx
    roland

    #929206

    Hey kwanumzen,

    Please replace your code with the below code:

    #av-burger-menu-ul > a:hover .avia-menu-text {
        color: #ffffff!important;
    }

    Best regards,
    Vinay

    #929649

    Hi Vinay,

    /* menu-resize for different screen sizes */
    #av-burger-menu-ul .avia-menu-text {
    font-size:18px!important;
    font-family:PT Sans!important;
    color: #df8020!important; 
    }
    #av-burger-menu-ul > a:hover .avia-menu-text {
        color: #ffffff!important;
    }

    does not work. The first style I need for the font. So I cannot replace it. I need a fix for

    a) if the display is in desktop ==> text color should change when I hover (over the text as well as over the anchor)
    b) if the display is in mobile size ==> same as above + font should NOT change (previous ticket)

    thx
    roland

    #930636

    Hi,

    We have added the below code to Quick CSS
    Please update the color value to suit your design :)

    .main_menu ul li ul a .avia-menu-text {
        color: #333!important;
    }
    #av-burger-menu-ul a:hover .avia-menu-text {
        color: #ffffff!important;
    }

    Best regards,
    Vinay

    #931702

    Hi Vinay,

    thx for fixing the issue.
    Plz close this ticket.
    :-)

    roland

    #931705

    Hi,

    I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Menu styling’ is closed to new replies.