Home Forums WoodMart support forum Background for the menu links on simple dropdown on hover

Background for the menu links on simple dropdown on hover

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #407629

    afoukis
    Participant

    How to make the menu links on simle dropdowns (Browse Categories) when you hover over these links (“Back”, “Faux”, “Pouches”, “Shoulder”) to have a background like “Bags & wallets”?

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

    Hello,

    You can change the font by means of the Advanced typography option, which allows you to choose the item from a drop-down or insert your custom CSS class. Please navigate to the Theme Settings > Typography > Advanced Typography.

    Here is the documentation providing more detailed instructions: https://xtemos.com/docs/woodmart/advanced-typography-settings/

    Best Regards

    #407842

    afoukis
    Participant

    Hi,
    I already use “Advanced typography settings”, but I haven’t found how to change the backgound when hover over items from drop-down menu
    (“Back”, “Faux”, “Pouches”, “Shoulder”) to have a background like “Bags & wallets”)
    Pls, any help?

    #408247

    Hello,

    Please check the screen: https://gyazo.com/5812c6e68cb7f3f4608dc26903873d89 or add this code to the Theme settings > Custom CSS:

    html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a {
    color:red;
    }
    html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a:hover {
    color:green;
    }

    Best Regards

    #408271

    afoukis
    Participant

    Hi,
    I don’t want to change the font color but the background color when the cursor hovers over items from drop-down menu.
    Please read the questions above and see the attachment

    #408467

    Hello,

    Please replace the code with this one:

    html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a {
    background-color:red;
    }
    html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a:hover {
    background-color:green;
    }

    Best Regards

    #408517

    afoukis
    Participant

    Hi,
    What I’m asking is only about the submenus. (submenu.jpg)
    When I hover over the sub-menus (e.g. Bags & Wallet => Back bags, Vegan, Pouches) the background color to change with red color and to cover both the left and right space of the word “Back bags” (extend to the entire rectangle of the menu item, there should be no white space but only the red)

    Thanks

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

    Hello,

    Please use this code:

    .wd-nav.wd-nav-vertical .wd-design-default.wd-dropdown-menu .wd-sub-menu > li > a, 
    .wd-nav.wd-nav-vertical .wd-design-default.wd-dropdown-menu .sub-sub-menu > li > a {
       background-color:red;
    }
    .wd-nav.wd-nav-vertical .wd-design-default.wd-dropdown-menu .wd-sub-menu > li > a:hover, 
    .wd-nav.wd-nav-vertical .wd-design-default.wd-dropdown-menu .sub-sub-menu > li > a:hover {
       background-color:green;
    }

    Best Regards

    #408747

    afoukis
    Participant

    Thanks I will try it

    #408920

    You are welcome! We are here to help.

    Wish you a wonderful day!

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

The topic ‘Background for the menu links on simple dropdown on hover’ is closed to new replies.