Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #410780

    I am attempting to make my submenu backgrounds have the color #990000 but also opacity 0.5. I don’t seem to be doing that the right way currently, because my the dropdown menu items are only transparent on mouseover, and the main parent menu item is also transparent on mouseover. Not good.

    Where is the style that control ONLY submenu background color and transparency? I must be missing it. Thanks.

    #411109

    Hi mterrian!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #top .av-main-nav ul a { background: transparent !important; }

    Best regards,
    Yigit

    #411129

    Thanks, Yigit, you’re the best. The dropdown menu background is now transparent (yay!) but the main menu item (the top-level menu) items are ALSO transparent on mouseover…..which they should not be. They should remain at #990000. Is there another style I can apply to THEM so they don’t go transparent on mouseover….but the submenu still does? Thanks, sorry to be a pain.

    #411135

    Hi!

    Please change the code to following one

    #top ul.sub-menu a {
      background: transparent !important;
    }

    That should apply the code only to sub menu items. If that does not help, that means issue is with your CSS code. In that case please post a screenshot and show the changes you would like to make, so we can make sure that we are on the same page and provide you an accurate solution :)

    Best regards,
    Yigit

    #411189
    This reply has been marked as private.
    #411778

    Hi!

    please try this code:

    #top #header .av-main-nav > li > a:hover {
    background-color: #990000 !important;
    opacity: 1;
    }
    

    Hope this helps.

    Regards,
    Andy

    #442352

    Hi Genius’,

    I too want to give the the background for the navi sub menu dropdown opacity… I have tried the above suggestions but didn’t work. When I use firebug, the element I want to change reads…

    <ul class=”sub-menu” style=”display: block; opacity: 0; visibility: hidden;”>

    Could you work something out from that for me? I am working offline so I cannot provide the link :-)

    #442360

    Hi Genius’,

    I too want to give the the background for the navi sub menu dropdown opacity… I have tried the above suggestions but didn’t work. When I use firebug, the element I want to change reads…

    <ul class=”sub-menu” style=”display: block; opacity: 0; visibility: hidden;”>

    Could you work something out from that for me? I am working offline so I cannot provide the link :-)

    #442854

    Hey!

    You could try something like this maybe?

    ul.sub-menu{
    opacity:0.5 !important;
    }

    Best regards,
    Rikard

    • This reply was modified 9 years, 7 months ago by Rikard.
    #443180

    Thanks, Kriesi gang!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Transparency for Enfold submenu background’ is closed to new replies.