Change colors when cursor is in a menu or submenu and also remove underline

url: testing (makerlab-electronics-ph.myshopify.com)

Your store password please

1 Like

u can now access the url

Hi, you can use this code

.mega-menu__link:hover,
.header__menu-item:hover { color: #feac00 !important; }
.mega-menu__link:hover,
.header__menu-item:hover span { text-decoration: none !important; }

its not working sir

Did you add code at the bottom of base.css and save file? Because I cannot see that code is added

Hi @niceeee

This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:

Online Store ->Theme ->Edit code

Assets ->Base.css

.header__menu-item:hover {
    color: red !important;
}
.header__menu-item:hover span {
    text-decoration: none !important;
}
.header__active-menu-item {
    text-decoration: none !important;
}
.header__active-menu-item:hover {
    color: red !important;
}

Hope you find my answer helpful!

Best regards,

Victor | PageFly

still not working

not working too

My code will make the text red on hover and will remove the underline below the text here:

PageFlyVictor_0-1680512966003.png

Hello @niceeee

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

.header__menu-item span:hover {
    color: #ff0000 !important;
    text-decoration: none !important;
}

Hi @niceeee

I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the css file:

.list-menu li .header__menu-item:hover {color: white !important;} .mega-menu__list .mega-menu__link:hover {color: red !important; text-decoration: underline;}

Regards,

San