Styling the first hierarchy level links (2 posts)

  1. lhk
    Posted 9 years ago #


    I wonder whether anyone can think of how I could apply a CSS style to the links in the first hierarchy in the sidebar.

    Sidebar looks as follows:


    I now would like the "toplevel" links (topic1, topic2) to be displayed in bold, whereas the rest can stay unbolded. It works if I use (strong) tags in the title itself, but that seems to me to be sort of a dirty hack.

    I don't know however how I could apply a specific tag only to a specific hierarchical element in a list.

    Talk about brains and wrapping ;-)

  2. moshu
    Posted 9 years ago #

    If that "thing" in the sidebar you showed above is a list then it's quite simple. Just search (google) for styling nested lists.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.