You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to set unique class for top-level list. In my own markup, I have different class at 2nd or deeper levels of ol/uls like below:
<navclass="containerClass"><ulclass="topListClass"><!-- <-- An exception to linkClass option that I wish to set separately) --><liclass="itemClass"><aclass="linkClass" href="#list-item">Top-Level List Item #1</a></li><liclass="itemClass"><aclass="linkClass" href="#list-item">Top-Level List Item #1</a><ulclass="submenuListClass"><!-- <-- (i.e. I'd prefer to set this as default linkClass option for the rest of levels) --><li>...</li><li>...</li><li...><a...></a><ulclass="submenuListClass">...</ul><!-- <-- --></li><li>...</li></ul></li><liclass="itemClass"><aclass="linkClass" href="#list-item">Top-Level List Item #3</a></li></ul></nav>
The text was updated successfully, but these errors were encountered:
I also need something like this. I only need to stick the classes on the topmost ul, and using listClass applies to all the child lists, which is pushing some styles out to the right of the container because they're indented.
I'm looking for a way to set unique class for top-level list. In my own markup, I have different class at 2nd or deeper levels of ol/uls like below:
The text was updated successfully, but these errors were encountered: