New Landing How can we help? Themeforest Theme Support Flexform Submenus active with parent menu item

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Flexform
  • #25671
    steensoegaard
    Member
    Post count: 6

    Hi

    I have a custom menu in my sidebar.

    When i select (click on) a parent menu item the submenus changes color as well.
    How can I prevent that?

    (When selecting a submenu item the parent menu item doesn’t get active / changes color).

    Thanks in advance.

    #25779
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    Can I see that page with the custom menu in the sidebar, please?

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #25868
    steensoegaard
    Member
    Post count: 6
    This reply has been marked as private.
    #26197
    Melanie – SUPPORT
    Member
    Post count: 11032
    .sub-menu li a {
    color: #ba1417!important;
    }
    
    .sub-menu li.current-menu-item a {
    color: black!important;
    }
    

    Let us know if that worked!
    Cheers

    #26285
    steensoegaard
    Member
    Post count: 6

    Thank you.

    I added .sidebar in front to make it only for the sidebar and not the main menu as well and a hover class to still make it black on hover.

    #26614
    Melanie – SUPPORT
    Member
    Post count: 11032

    Fantastic! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register