• Hi,

    On the default WP template (and others) it has a section in the sidebar to list all pages on the site. If there are sub pages it indents them. I found a theme I want to use on the internet but it does not indent the sub pages. How do I do that? I can’t find it within in the default template files so I don’t know what I need to do. I appreciate any help you can give.

    Thanks, Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Style.css – probably in the section that deals with the lists in sidebar. Look how it was done in the first theme you used. Googling for “styling nested lists” or something similar should also give you some directions.

    Thread Starter mrtoad

    (@mrtoad)

    Thanks for the reply.

    I had tried that and I think I was looking at this correctly but I guess I am not. For the template that has the indented sub-pages I looked at the sidebar.php file and was hoping to see what it was using from the css sheet but just don’t see it. In the sidebar.php file where the pages go it says:

    <?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>

    So I looked in for both wp_list_pages AND title_li in the css sheet but could not find them. Am I looking at this all wrong?

    Thanks,
    Mike

    To find your styles… you should look at the output > source code: right click when viewing your site and Show Source.
    More: http://codex.wordpress.org/Finding_Your_CSS_Styles

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Indenting sub pages in sidebar, need help’ is closed to new replies.