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

Your Time: Our Time:

Is it possible to restrict main menu display to just the 1st level?

Featured Lock Resolved Issue
Is it possible to restrict main menu display to just the 1st level?

i have Kowshar respond to my original post saying

"Please see the template settings Menu tab and from there you can set display level."

But i can not find this option in template setting.

Can someone please point me in the right direction as to where I can find these setting as I have been chasing for a few weeks now.

Thanks

Chris.

2 Answers

Arun Sasi

More than a month ago #Permalink
Hi Chris,

You can acheive this my adding css.

Open your poject folder > templates > [your template] >

if you are using less open less folder> menu.less

search for #sp-main-menu and paste

.sub-level{display:none;}


in the css function.

Thanks
Arun


There are replies in this post but you are not allowed to view the replies from this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 120
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 58
Ofi Khan

Ofi Khan

Total Accepted Answers: 50
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 49
Toufiq

Toufiq

Total Accepted Answers: 43

121

Templates

319093

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