1. HOT Divi Ultimate Header Plugin - Design Divi custom header globally in Divi Builder: https://header.diviultimate.com/
    Dismiss Notice

Active sections

Discussion in 'Get Help On Divi Wordpress' started by David McDonagh, Jun 11, 2019 at 3:41 AM.

  1. David McDonagh

    David McDonagh New Member

    Hi

    I would like to apply styling to the menu (link colors etc) depending on which section is active in the webpage. How can I achieve this?

    David
     
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

  3. David McDonagh

    David McDonagh New Member

    Hi thanks for the response.

    However, I already have this code installed on my webpage.

    Let me explain. I have a transparent fixed header on my page. When the menu is over one section I want to apply certain styles, when over another I want to add different ones.
    eg, when menu is over orange section, links are black and active white, when over black section, links are white active is orange etc

    I have tried to expand the code given in the example above but not having any luck. :(