Ciwan wrote:Hello Seema
Are you familiar with JavaScript/jQuery ?
Using a line or two of jQuery code you can tell it to expand once the page loads.
No, that's not the case. You can use browser developer tool to inspect the element, and you will not see ALL the categories. Also, you can see the page submitting back to server when a category is clicked.
You will need to modify a controller and recompile.
Comment out these two lines.
\src\Presentation\Nop.Web\Controllers\CatalogController.cs
private IList<CategoryNavigationModel> GetChildCategoryNavigationModel
...
//for (int i = 0; i <= breadCrumb.Count - 1; i++)
//if (breadCrumb[i].Id == category.Id)
result.AddRange(GetChildCategoryNavigationModel(breadCrumb, category.Id, currentCategory, level +
It might be nice if this was a built in feature (just need a system/config setting to test)