Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 20h 39m 17s
Claim 50% off
Solved Templates

CSS Menu customizing

Asked by MT24 5 years ago Last activity 5 years ago

Hi, i need to delete the "underline" in the menu on active button and in submenu too, how to do in the custom.ss please ? Thanks
It appears in active item and on hover item too ... i don't need it.
Shefund Template

https://prntscr.com/1qr8byn

Accepted answer

Marked as the solution
Ofi Khan Staff

If you want to delete it, then use this CSS

.sp-megamenu-parent .sp-menu-item a:before{
    display: none !important;
}
.sp-dropdown .sp-menu-item a:before{
    display: none !important;
}

If you want to change the color, then use this CSS

.sp-megamenu-parent .sp-menu-item a:before{
    background-color: red !important;
}
.sp-dropdown .sp-menu-item a:before{
    background-color: red !important;
}

8 more replies

Ofi Khan Staff

Hello MT24

Please use this CSS to Template Options -> Custom Code -> Custom CSS

.sp-megamenu-parent .sp-menu-item a:before{
    display: none;
}
.sp-dropdown .sp-menu-item a:before{
    display: none;
}

Best regards

MT24 Asked this

Very nice, thank you, i have forgotten the term of "!important" , thank you

Ofi Khan Staff

You are welcome.

Ofi Khan Staff

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback here:

  1. JED
  2. Trustpilot
Ofi Khan Staff

Yes, two days back :)

Thank you so much.

MT24 Asked this

You are welcome & thank you for your help everytime !

Log in to reply.