WordPress.org

Forums

Category or Page Deption indicator in class (2 posts)

  1. ijstokes
    Member
    Posted 9 years ago #

    For getting nice menus it would be great if the menu classes indicated their depth, e.g.

    <PRE>
    <LI class="depth_1">Top level category
    <UL>
    <LI class="depth_2">Sub category
    </UL>
    </LI>
    </PRE>

  2. moshu
    Member
    Posted 9 years ago #

    WP does that by default, you just have to style them accordingly in your style sheet.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.