Menu CSS - by Enrico Dalli Pullicino - on WordPress WooCommerce support

This topic has 3 replies, 2 voices, and was last updated 3 years, 10 months ago ago by Enrico Dalli Pullicino

  • Avatar: Enrico Dalli Pullicino
    Enrico Dalli Pullicino
    Participant
    June 16, 2020 at 23:12

    I managed to create a mega menu using a static block, and I am happy with the outcome.
    For some other menu items under the “All Departments / Shop Now” Menu, I simply added subcategories to menu items (I did not use the Mega Menu).

    I have been trying to get them looking exactly the same, however, I did not manage the last bit.

    I would like to be able to change HOVER color for all subcategories listed in the menu (which are not part of a Mega Menu). I managed to change the base colour, the font size, and the font, but not the hover colour!

    To be clear: The WATCHES menu is a mega menu. Items are shown in light grey and on hover they turn to black.

    I would like the SUNGLASSES, JEWELLERY and HANDBAGS categories to display the subcategories in exactly the same way. Currently, everything is fine except for turning to black on hover.

    What CSS should I use?

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 17, 2020 at 10:32

    Hello,

    Try to use the next code:

    .menu-main-container .nav-sublist-dropdown ul > li > a:hover {
        opacity: 1 !important;
    }

    Regards

    Avatar: Enrico Dalli Pullicino
    Enrico Dalli Pullicino
    Participant
    June 17, 2020 at 10:57

    Excellent. Consider as closed.
    Tahnk you for your awesome support.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Menu CSS’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.