Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #268168

    is there a way to set a different bg color for the main menu than the header bg color?

    • This topic was modified 9 years, 11 months ago by thanp73.
    #268183

    Hey!

    Try adding this code to the Quick CSS:

    .main_menu {
        background: red;
    }

    Cheers!
    Josue

    #268186

    No effect… yes, refreshed cache and pages.

    any oteher ideas?

    #268187

    Hi,

    Can you post a link to your website please?

    Regards,
    Josue

    #268286
    This reply has been marked as private.
    #268295

    You can put your custom CSS here directly:
    http://www.astfinance.com/wp-content/themes/enfold-child/style.css?ver=1

    Best regards,
    Josue

    #268298

    hah- like I said, it take a long time for css to take effect. now it’s red.
    however, now the bg of the main menu is red but not of the bg of the dropdown area

    I am looking for the opposite effect here- the bg of the main menu items same as the header, but the bg of the dropdown and megamenu areas different…

    using firebug I can’t seem to identify what class the bg of the menu areas is classed as, because it goes away as son as I take mouse away.

    also, when using your inbuilt header textures/ images, that image does not repeat down into the mega menu items… just FYI.

    • This reply was modified 9 years, 11 months ago by thanp73.
    #268300

    how is that different than quickcss?

    also, it’s not changingthe bg color of the megamenu dropdown areas, which is what I DO wantt o change…

    thx!

    #268306

    using firebug I got it to change here, the a89b99 is something I typed in-

    but I don’t know how to pu this into the quick or style.csss….
    thx!

    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
    background-color: #A89B99;
    color: #544E34;
    }

    #268307

    The difference is that it will updated quicker, to change the background in the sub menus:

    .main_menu, .sub-menu *, .sub-menu {
        background: red !important;
    }

    Best regards,
    Josue

    #268310

    Have you tried doing it via FTP (edit style.css) or Themes > Editor?

    #268315

    I am trying to get the menu itself same as header, and bg of the dropdowns to be different.
    now, all menu is red- both the main links, and the mega menu items that open up

    I tried what seemed logical, removignthe main_menu, portion of your code, and putthis in the child style.css, but it’s still all red.

    gettign closer!
    .sub-menu *, .sub-menu {
    background: red !important;
    }

    I

    any ideas isolating just the mega menu background area?

    #268317

    actually just noticed too, that made the bg of the other menu location up in the header red too, which I definitely do not want.

    I undid both the quick and the style.css, back to square 1

    #268319

    Have you tried prefixing the .avia_mega_div class?

    .avia_mega_div .sub-menu *, .avia_mega_div .sub-menu {
    background: red !important;
    }

    That way it will only target mega menu elements.

    Regards,
    Josue

    #268333

    that got it! thanks!
    I changed red to #fffff and it’s lovely!
    thanks for your help!

    #268335

    You are welcome, glad we could help :)

    Regards,
    
Josue

    #268339

    wait a minute
    I lost the mouseover effect now

    #268341

    so the color that used to appear when cursor was on an avia sub. menu item is now lost

    #268343

    I see why, try with this code instead:

    
    /* Idle */
    .avia_mega_div .sub-menu, .avia_mega_div .sub-menu a{
    background: red !important;
    }
    /* Hover */
    .avia_mega_div .sub-menu a:hover{
    background: peru !important;
    }

    Change as needed.

    Regards,
    Josue

    #268357

    ok great- thanks, I think that got it- much apprecited.

    while we are on the topic, is there a way to isolate the hover background color element of the sub nav menu to the right of my phone #? the about us/ contact us?

    #268360

    Hi!

    Try with this:

    #avia2-menu .sub-menu li:hover a{
        background-color: blue !important;
    }

    Cheers!
    Josue

    #268367

    that’s the ticket- thank you!

    #268376

    You are welcome :)

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘set background color of avia mega menu to different color than header’ is closed to new replies.