Support Forums

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

Your Time: Our Time:

add nth-child for megamenu

Featured Lock Resolved
Hey Guys,

I would like to differentiate the menu entries in different colors. But if I add

.offcanvas-menu, sp-megamenu-parent > li > a:nth-child(2):after {
background-color: red;
}


it don't work.. do you have an idea for me?

2 Answers

Please login to view replies.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 163
Sifat

Sifat

Total Accepted Answers: 152
Toufiq

Toufiq

Total Accepted Answers: 63
S

Shana

Total Accepted Answers: 3
Rifat Wahid Alif

Rifat Wahid Alif

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