Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1002968

    Hi, how do I change the transparency of the sub menu background color with out effecting the transparency of the text in the sub menu?

    • This topic was modified 6 years, 3 months ago by envisageiam.
    #1003143

    Hey envisageiam,

    Please post a link to your site and point out what you would like to change there.

    Best regards,
    Rikard

    #1004492

    I would like for the drop down menu under “Products” to be transparent when the header is transparent and white when the header is white. Currently it is white all the time.

    #1004593

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    /* CSS - Transparent submenu */
    
    #header.av_header_transparency .sub-menu a, .sub-menu, 
    #header.av_header_transparency .sub-menu li {
        background: rgba(255,255,255,0.55) !important;
        border:none;
    }
    
    
    

    Best regards,
    Vinay

    #1004736

    That worked good for the background transparency.
    Can I also change the font color for with the sub menu background transparency?

    #1004781

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    /* CSS - menu item color */
    
    
    #header.av_header_transparency .main_menu .menu ul li>a,
    #header.av_header_transparency .main_menu .menu ul li>a:hover {
        color: gold;
    }
    
    
    

    Best regards,
    Vinay

    #1005225

    That worked good, thank you. Can I also set the color of the text and background when I hover each item?

    • This reply was modified 6 years, 3 months ago by envisageiam.
    #1005466

    Hi,

    Please replace the previous code with the below code:

    
    /* Menu item color */
    #header.av_header_transparency .main_menu .menu ul li>a {
    color: red;
    }
    /* Menu item color on hover*/
    #header.av_header_transparency .main_menu .menu ul li>a:hover {
        color: gold;
    }

    Best regards,
    Vinay

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