0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

SOLVED Ensuring only the selected menu item is highlighted

    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 7

    SOLVED Ensuring only the selected menu item is highlighted

    Posted 12 years 3 months ago
    • On this page,

      betelec.ergonomiq.net/societe/offres-d-emploi

      The sub-menu item "Envoyer votre CV" has a darker background, as if it is the active menu item.

      How do I ensure that only the active menu item is highlighted and not sub-menu items?
    • Last Edit: 12 years 3 months ago by Ali Samii.
    • Thank you.

      Ali Samii
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 970
    • Volunteer

    Re: SOLVED Ensuring only the selected menu item is highlighted

    Posted 12 years 3 months ago
    • you are styling the wrong element.

      add this to your css

      div.sidemenu ul.menu li.active.current,
      div.sidemenu ul.menu li#current.active {
      background: transparent
      }

      .sidemenu ul.menu li.active.current > a,
      .sidemenu ul.menu li#current.active > a {
      background:
      #00a88f;
      }

Time to create page: 0.060 seconds