Home Forums WoodMart support forum hover to be active on the main menu while hovering on the submenu

hover to be active on the main menu while hovering on the submenu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #294908

    Razanfati
    Participant

    Hello,
    I’m facing a problem in keeping the hover effect active on the main menu while hovering on the sub mega menu.

    Attachments:
    You must be logged in to view attached files.
    #294980

    Hello,

    I saw the screenshot you attached and visited your website.

    How did you add a different hover background color to each item in the menu??

    Please provide me with the steps to check it myself and help you out accordingly.

    Best Regards

    #305804

    Razanfati
    Participant

    Hello,

    We have used the html block to create the mega menus, and added css code for each menu category as following:

    /* main menu hover effect*/
    .Bathroom-nav a:hover {
    background-color:#dee8ef;}

    /* Bathroom sub menu hover effect*/
    #menu-bathroom-menu-jet li:hover > a{
    background-color:#dee8ef;
    }

    We want to maintain the hover color effect on the main category while hovering on the child category (sub-menu)

    Regards

    #306023

    Hello,

    Please try this CSS:

    #menu-primary-menu-jet li:hover {
    background-color:#dee8ef;
    border-radius:20px;
    }

    Best Regards

    #321033

    Razanfati
    Participant

    Hello,

    We tried the SCC code you sent, but it will affect all main categories and color it in one color,
    what we want is to have each category in a different color (menu box color)

    for example, the furniture color is pink, the bathroom is blue, the kitchen is green as per attached photos

    Attachments:
    You must be logged in to view attached files.
    #321230

    Hello,

    You need to assign different classes to each item in this menu: https://gyazo.com/2fa7c8e141f115dfc2ac227b9da46d1c

    I will give the custom CSS.

    Best Regards

    #322639

    Razanfati
    Participant

    Hi,

    Thank you, we are waiting for the custom CSS.

    Regards

    #322722

    Hello,

    Sorry, I have figured out what you want, however, it is not possible to achieve with CSS.

    If you have any questions please feel free to contact us.

    Best Regards

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