Dropdown Background Submenus Mouseover Color Change - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Dropdown Background Submenus Mouseover Color Change

G

gemmajoom

Template 1 month ago

Hello, how can I change the background color of the selected submenu?

https://ibb.co/KxkVWDj6

I tried this code in Custom CSS, but doesn't work:

.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a:hover{
  background-color: #2a3325 !important;
}

Using Joomla 5.3, Shaper Salon template.

Thanks

0
7 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #204467

Ciao. Use that

.secondary-menu .menu-child li a::after, 
.secondary-menu .sp-dropdown-inner li a::after, 
.sp-megamenu-parent .sp-dropdown .menu-child li a::after,
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner li a::after {background-color: #6F5D41; }
0
G
gemmajoom
Accepted Answer
1 month ago #204495

Thank you Paul, it works!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #204068

Hi there!

Thanks for reaching out.

Unfortunately, the screenshot is not visible from my end. Would you please share your site URL here to check?

Best regards,

0
G
gemmajoom
Accepted Answer
1 month ago #204071

There is also a problem with the offcanvas menu, it is not visible, even though the module has been activated and associated with the offcanvas position

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #204441

Hi,

Sorry for the delay. I have looked into your site and it seems you are trying to achieve this for a single page anchor links submenu items. Do you really mean active submenu's background color? Or background color of submenu while hovering on them?

Kindly specify. Sorry for the confusion...

Active menu's color can not be defined as this template is not designed for onepage solution, but if you mean hover, then yes, it's possible.

Best regards,

0
G
gemmajoom
Accepted Answer
1 month ago #204461

I mean background color of submenu while hovering on them. I would like to replace the black with another color.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #204539

Thanks for the confirmation and glad to see that you have achieved it already:)

Have a nice day!

0