Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #409673

    I’m trying to recreate active sub-menus that have background color from this site:
    http://www.seattlenanny.com/about-us.php

    I’ve been able to recreate this in Enfold for the first level sub-menu but nothing further, as seen here:

    http://test.seattlenanny.com/?page_id=24, using this CSS:

    /* color of active menu item */
    .header_color .main_menu ul:first-child > li.current-menu-item > a { background:#53a3b7 !important; color: #ffffff!important; }

    .current-menu-item .avia-menu-text {
    color: #ffffff!important;
    }`

    Any ideas or help would be greatly appreciated! Thanks in advance!
    -Jack

    #410215

    Hi!

    Change your first code to this:

    .header_color .main_menu ul:first-child > li.current-menu-parent > a, .header_color .main_menu ul:first-child > li.current-menu-item > a { background:#53a3b7 !important; color: #ffffff!important; }
    

    Best regards,
    Josue

    • This reply was modified 9 years, 9 months ago by Josue.
    #410263

    Thanks! Works like a charm! Much appreciated! -Jack

    #410303

    You are welcome Jack, always glad to help :)

    Regards,
    Josue

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