WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List pages without bullets (5 posts)

  1. Sphagnum
    Member
    Posted 9 years ago #

    I've inserted code into my template to list my Pages, but in Firefox (it doesn't do it in IE, just firefox) the Pages Titles show up with bullets in front of them.

    I've been using this page:http://codex.wordpress.org/Template_Tags/wp_list_pages

    Anyone know what arguement to use to delete the bullets so the pages just list as the titles?

  2. Lorelle
    Member
    Posted 9 years ago #

    http://codex.wordpress.org/Styling_Lists_with_CSS

    Will help you figure out the WordPress lists. It can be really challenging dealing with nested lists in the sidebar.

    #sidebar li {
    list-style: none;
    }

    Will help but you have to identify which LI is being used on your Pages template tag.

  3. Sphagnum
    Member
    Posted 9 years ago #

    I don't have any UL or LI. I'm just using the call function:

    <?php wp_list_pages('arguments'); ?>

    It calls all the pages your written and lists them by title. I just want to know if there is an arguement for that function that lists w/o bullets...

  4. Lorelle
    Member
    Posted 9 years ago #

    There is no argument for listing bullets. When the page is generated (viewed) it returns the list using LI XHTML tags.

    You control whether or not you have bullets in the Pages list by changing your style.css style sheet section, as explained in the article, to feature no bullets.

  5. Sphagnum
    Member
    Posted 9 years ago #

    Ah, I see what you're going after now. Thanks so much, did the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags