CssClassField for the Menu to style the entire item
I need to style the entire menu item, not just my template, but there are classes from the menu that I cannot override with my code or template.
Posted on:16 Apr 2020 09:37
To clarify, this would be a string field in the menu item model that the menu will render on the li.k-item so you can cascade CSS rules through it.
Here is roughly what the menu renders at the moment:
<li class="k-item k-menu-item telerik-blazor" <---------this is where such a class would be added data-id="e5bda03c-693b-4a70-9310-75977f58d39a" role="menuitem" aria-live="polite" tabindex="0" aria-label="Paste"> <span class="k-in k-link k-menu-link "> This here can be your template </span> </li>
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.