1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

How to change active main menu item colour when a submenu item is active

Discussion in 'Basic Support Forum' started by Gregory Landry, Aug 16, 2019.

  1. Gregory Landry

    Gregory Landry New Member
    Divi Ultimate Header Plugin

    Hi folks,

    If you go to https://carrabassettvalleypestcontrol.com and select a submenu item under SERVICES you will notice that once at the submenu items page that submenu background has been highlighted. I would also like the Main menu item SERVICES background to also be highlighted as well when one of its submenu items have been chosen. For the life of me, I can't target SERVICES. I tried the following but it did not work. Any thoughts?


    #main-header #top-menu li.current-menu-ancestor > a {
    background-color: rgba(181,126,134,.1)!important;
    }

    Thanks,
    G.L.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade promo bar / notification bar with close button for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    It seems like you already got it done. Let me know if you have any other questions.