Commit 65592b6ead58afa0db495be332954bb011f004af
1 parent
0e2a89a2
q3
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
frontend/views/layouts/_category_menu.php
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | foreach ($categories as $category) { |
| 18 | 18 | if ($category->lang->alias) { |
| 19 | 19 | ?> |
| 20 | - <li class="dropdown-submenu"> | |
| 20 | + <li class="dropdown-submenu <?=empty($category->categories) ? 'no-child-menu' : ''?>"> | |
| 21 | 21 | <?php |
| 22 | 22 | echo Html::a( |
| 23 | 23 | $category->lang->title, | ... | ... |