WordPress.org

Support

Support » Themes and Templates » [Resolved] sidebar links not conforming to <li>

[Resolved] sidebar links not conforming to <li>

  • davidstrack
    Member

    @davidstrack

    I have a wordpress site, and my theme is based off of Contempt. I added a box to the sidebar of every Page that will list the children of that page automatically. it’s working, however, all of the children are appearing on one line instead of one child per line.

    http://www.davidstrack.com/wordpress/?page_id=43

    theres an example. see the right hand side? does anyone know how I could get those on seperate lines? I’ve tried a couple things but nothing has worked. I’m sure it’s somthing simple. Thanks a bunch in advance.

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

  • li.page_item {
    display: inline;
    }

    Remove that from your css file

    You have this in your stylesheet:
    li.page_item {
    display: inline;
    }

    obviously for the Pages listed in your horizontal navbar.
    However, the Pages displayed in the sidebar have the same class (page_item) so the style applies to them, too.

    davidstrack
    Member

    @davidstrack

    sweet, that worked. thanks guys.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] sidebar links not conforming to <li>’ is closed to new replies.