If you could add something to Kentico, what would it be and why?

CSS List Menu - Additional Class Property for <ul>

As you know, you can add css selectors to first, last, hover, mouseout, mouseover, and even add an id to the <ul>, within the web part properties.

But why do you not allow css selectors to be added to the <ul>? jQuery is the only option to add classes to the <ul>.

Just a suggestion, since you already have so many places to add css classes. Why not on the <ul> too? Also, because of better css techniques, you don’t really need many of the other options for adding css classes, if you have a class at the top level <ul>. (But I know it allows developers to get granular). Even more reason to add css selectors on the <ul>.

2 votes
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Tyler Bockler shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Richard Mather commented  ·   ·  Flag as inappropriate

    For simple customisation of the CSS list menu, such as implementing classes for using Bootstrap, it would also be useful to be able to change, or at least add, classes to the <li> tags, from the Portal Engine model, eg:

    <cms:CMSListMenu ID="menuElem" runat="server" CMSListMenuLI="nav-item" />

Feedback and Knowledge Base