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

    Dear Support Team,

    I need your help with my mega menu.
    I can not make it alone, the complete background of each sub-menus in one color. As shown in the screenshot. For me, just behind the text is a colored area.
    The linktext I do not get white.

    It would be very nice if you could help me.

    best regards
    Katrin

    Screenshot

    #746174

    Hey LorbeerDesign,

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

    In the below code nth-child(x) the number x refer to the menu item. Please add more nth-child selectors to match the number of menu items and update the background color values.

    #top #header .avia_mega_div .sub-menu:nth-child(1) {
    background:gold!important;
    }
    #top #header .avia_mega_div .sub-menu:nth-child(2) {
    background:green!important;
    }
    

    Best regards,
    Vinay

    #746269

    Hi Vinay,

    Thank you for your answer. So it looks great. I would like the font color in white. My code is no longer for the font color. How can I change the font for the mega menu?
    Can you tell me how I do it?
    And a small thing: it is a fine yellow line right in the mega menu (see screenshot).

    best regards
    Katrin

    screenshot

    #746348

    Hey!

    Glad you like it :)
    Please try the below CSS :

    /* Submenu text color */
    #top #header .avia_mega_div .sub-menu a {
    color:#FFF!important;
    }
    
    /* Remove yellow line*/
    .header_color .avia_mega_div {
    	background:transparent!important;
    }

    Cheers!
    Vinay

    #746778

    Hi Vinay,

    Wow – thanks for your help. I love your great support!
    I only noticed that the first submenu does not color in the color as it is in my code? should not be yellow but #8BB200.

    Thanks again for your help and greetings
    Katrin

    #748598

    Hi,

    Hey it appears you have figured this one out. The first submenu link background color is the same as you mentioned please check attached screenshot.

    Let us know if you have any questions, we are happy to help :)

    Best regards,
    Vinay

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