how to increase / decrease the distance of sub category ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
On the left column we have category section.

Everytime we click on any category, the sub category pops out below. But the sub category is more right as compared to the main category.

So how to maintain or increase / decrease the space between the edge of main category and edge of sub category ?

Here is the screenshot in which i have marked the space that i want to increase or decrease:
http://img339.imageshack.us/img339/8540/spacey.jpg
13 years ago
1. Open \Modules\CategoryNavigation.ascx.cs
2. Replace "int padding = level++ * 15;" with "int padding = level++ * your_value;"
3. Recompile the solution
13 years ago
Glad you can help him but .. shouldn't that subcat have a class id, then he can do it in css.
13 years ago
nopCommerce team | a.m. wrote:
1. Open \Modules\CategoryNavigation.ascx.cs
2. Replace "int padding = level++ * 15;" with "int padding = level++ * your_value;"
3. Recompile the solution

Thanks Andrei

ajhvdb wrote:
Glad you can help him but .. shouldn't that subcat have a class id, then he can do it in css.

I agree !
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.