WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS stylesheet and listcats() (4 posts)

  1. donboludo
    Member
    Posted 9 years ago #

    I am trying to edit my CSS stylesheet so that when I list my categories on my tag page "child" categories are set 10 pixels in from their "parents"

    Take a look at my current tag page at http://www.yourmindbetterbeblowingandsoon.com/tags/

    I am trying to get it to look something like this format for example:

    By Location:

    New York City
    Brooklyn
    Coney Island
    Manhattan
    Soho
    Lower East Side
    Washington DC
    Cleveland Park

    something along those lines... I am using the listcats() tag to do this...

    Thanks in advance

  2. Joshua Sigar
    Member
    Posted 9 years ago #

    ul.children {
    padding-left: 10px;
    }

  3. Lorelle
    Member
    Posted 9 years ago #

    Nested lists in the sidebar of WordPress Themes can be a nightmare. There are two good articles which cover this tangle of UL/LI stuff:

    http://codex.wordpress.org/Styling_Lists_with_CSS
    http://codex.wordpress.org/Customizing_Your_Sidebar

  4. donboludo
    Member
    Posted 9 years ago #

    got it. thanks guys.

    ul.children {
    padding-left: 10px;
    }

    did the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.