adjust sectioned style

This commit is contained in:
isUnknown 2024-09-03 16:16:06 +02:00
parent fe7f31a112
commit 4aeeb3a4e4
5 changed files with 18 additions and 8 deletions

View file

@ -54,7 +54,7 @@
<ul>
<?php foreach($category->children() as $subcategory): ?>
<?php if ($subcategory->isIndexed() == 'true'): ?>
<li><a class="expanded-nav__subcategory" href="<?= $subcategory->url() ?>"><?= $subcategory->title() ?></a></li>
<li><a class="expanded-nav__subcategory" href="<?= $category->url() . '/#' . $subcategory->slug() ?>"><?= $subcategory->title() ?></a></li>
<?php endif ?>
<?php endforeach ?>
</ul>