WordPress.org

Ready to get started?Download WordPress

Forums

Child Pages not Indentins (6 posts)

  1. DrAxeman
    Member
    Posted 7 years ago #

    I am trying to get my pages to list in a hierarchical order using:

    <?php wp_list_pages('title_li=&depth=0'); ?>

    But it's not working.

    I've been playing with this for a hour and haven't got a clue. Any suggestions?

  2. Leovenous
    Member
    Posted 7 years ago #

    Are you using a default stylesheet, template stylesheet, or your own?

  3. Jeremy Clark
    Moderator
    Posted 7 years ago #

    Please post a link to the actual site.

  4. DrAxeman
    Member
    Posted 7 years ago #

    sorry for how poor my original post was. I was very tired and now in the light of the day I see how tired I was.

    The site is at: http://www.taylexson.org/

    There is a stylesheet and that's probably where my problem is. However, I know very little about them.

    Should I post the style.css here?

  5. Jeremy Clark
    Moderator
    Posted 7 years ago #

    You could add this to your stylesheet

    #right ul li ul li{
    margin-left:15px;
    }

    This will indent 15px you can play with the value to your liking.

  6. DrAxeman
    Member
    Posted 7 years ago #

    Excellent!

    Works perfect!

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.