WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] sidebar links not conforming to <li> (4 posts)

  1. davidstrack
    Member
    Posted 8 years ago #

    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.

  2. eridan
    Member
    Posted 8 years ago #


    li.page_item {
    display: inline;
    }

    Remove that from your css file

  3. moshu
    Member
    Posted 8 years ago #

    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.

  4. davidstrack
    Member
    Posted 8 years ago #

    sweet, that worked. thanks guys.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags