ahmet2106 / pico-navigation

Pico Flat File Based CMS Plugin for better navigation with editable id and class config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Classes in <li>, <a> tags

STOWouters opened this issue · comments

I'm wondering if there's a way to provide classes for <li> and/or <a> tags using config.php? Something as:

$config['at_navigation']['li_class'] = 'nav-item';
$config['at_navigation']['a_class'] = 'nav-link';

If it's already there, please could you update the readme? Otherwise, I would like to request this as a new feature in the next version :)

thanks for your interest. added feature in newest commit 540f2d3

great! thanks.