Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Menu Color Change on Hover (Main & Sub)

Featured Lock Resolved Issue
Trying to get the bg to change color when hovering on both the Main and Sub menus, but cannot find solutions here or the net. Need some help please...

I've implementing codes from the Helx3 Docs, but they don't seem to help.

bg-color-change-on-hover.jpg

https://kilchphoto.com/sun_roadkill/index.php

Thanks,
Steve

Attachments (1)

  • bg-color-change-on-hover.jpg
    bg-color-change-on-hover.jpg 98 KB

3 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
tip for today:
for menu

.sp-megamenu-parent > li:hover > a, .sp-megamenu-parent > li:focus > a {
color: black;
background-color: yellow;
}

for submenu

.sp-megamenu-parent .sp-mega-group > li:hover > a {
color: white;
background: blue;
}


tip for tomorrow:
https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action

Attachments (1)

  • colors.jpg
    colors.jpg 22.1 KB

Steve

More than a month ago #Permalink
Thank you Paul. Bookmarked that link.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 125
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 120
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us

Cron Job Starts