WordPress.org

Forums

List bullet (21 posts)

  1. bikoy
    Member
    Posted 10 years ago #

    why does my < ?php the_category() ? > appear like its under an unordered list? with the dot beside it?

  2. unoamigo
    Member
    Posted 10 years ago #

    Hmm, well it is supposed to appear as an unordered list.
    The dot your referring to can be eliminated through css. That is if I'm thinking of the right thing...
    Do you have an example link?

  3. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Your menu items are controlled by one of several tags:
    #menu ul
    #menu ul ul
    #menu ul li
    #menu ul ul li
    If a style type is not defined, then your browser will default to showing a black circle(bullet, disc) next to each item in a menu. If you define the style you want, you can remove the disc.
    Do this by including this in the CSS declaration for the items that you want not to have the black circle;
    list-style: none;
    For instance, to remove the black circle from an unordered list element:
    #menu ul li {
    list-style: none;
    }

  4. bikoy
    Member
    Posted 10 years ago #

    Okay. I got it. Thank you!! :)

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    how would you use categories without them being in li and ul tags? i have fiddled with my CSS and tried to include the category in one sentence, but it is still treated as though it is in a list. is there a way to not use list styles?

  6. OperaManiac
    Member
    Posted 10 years ago #

    podz already descibed to make that work using css.

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    Oh I understand now sorry!

  8. Beel
    Member
    Posted 10 years ago #

    Unless you are refering to a post you deleted, no need for apologies. Glad you got it.

  9. RedDwarf
    Member
    Posted 10 years ago #

    Thanks for this, I was wondering how to get rid of the bullet next to my archives. :)

  10. alana
    Member
    Posted 10 years ago #

    I have added every sinlge instance of menu tags in my css and it is not removing the bullet list when the category tag is active:
    [Moderated]

    What now? [http://thevictimdotorg.alanahoney.com/wp/index.php]

  11. Mark (podz)
    Support Maven
    Posted 10 years ago #

    This does:

    ul li {
    list-style:none;
    }

    Put at the bottom of the css.

  12. ElKeter
    Member
    Posted 10 years ago #

    But what about that line break?

    :-)

  13. Mark (podz)
    Support Maven
    Posted 10 years ago #

    The dot and the line break can be sorted simply by looking at how WP handles it on a default install and then carefully changing that.

    This sort of question, which has been asked and answered many many times, basically equates to "Do it the way WP wanted to it in the first place".

  14. ElKeter
    Member
    Posted 10 years ago #

    [Moderated - comments removed]

  15. Mark (podz)
    Support Maven
    Posted 10 years ago #

    You want your information to appear, in a line, with no dots or line breaks.
    That really is how WP does it 'out of the box'

    It is styled, with css, to display everything 'inline' despite the fact that there are list elements in there.
    Applying the default code, with the default CSS will do 2 things:
    - you will get your inline behaviour
    - you will probably get ugly character sizes for that page.

    Both are fixable, but if I say to do x, y and z, it still equals putting back what was there in the first place and I can't dress that up any differently.

    WordPress is ridiculously easy to customise, as looking round the many thousands of sites will attest to.
    And I do offer support - quite a lot.

    Now..are you going to be constructive, or continue to be hostile ?

  16. davincim
    Member
    Posted 10 years ago #

    Need to resurrect this topic, hopefully briefly.

    I've inserted the code as described here including podz' instruction to add:

    ul li {
    list-style:none;
    }

    But the arrow bullets are still showing up in my sidebar. Here's my site if someone would take a moment to look at it. :)

    Once I figure out how to turn those off, I think I can make a class to keep the list in my posts with bullets and the sidebar elements off.

    Suggestions please?

  17. Joshua Sigar
    Member
    Posted 10 years ago #

    In your css file, find the following

    .entry ul li:before, #sidebar ul ul li:before {
    content: "0BB 020"; /* delete this line to delete the bullet*/
    }

  18. davincim
    Member
    Posted 10 years ago #

    Oh that's what that is. Thanks alphaoide!

  19. NuclearMoose
    Member
    Posted 10 years ago #

    /* delete this line to delete the bullet*/

    One thing that I don't like about the CSS comment is that you aren't really deleting a bullet. The bullets are an attribute of the <li> element. Also, I recommend AGAINST deleting...comment things out, because you never know when you might want it back or to try something a bit different, like say substituting a graphic for the >> character.

  20. davincim
    Member
    Posted 10 years ago #

    /* delete this line to delete the bullet*/

    That comment wasn't in my wp-layout.css file. The Kubrick version I downloaded a while back only had the code next to it. I would have really felt stupid for having missed that. :)

    NuclearMoose: Yes, I'm trying to get into the habit of commenting things out; it has saved my butt numerous times.

    Thanks guys!

  21. ultrazero
    Member
    Posted 8 years ago #

    Hello, I need to resurrect this topic.

    I'm using the plug-in "WP Category Posts" to display a list of posts from a specific category in my sidebar. In sidebar.php the plugin command 'wp_cat_posts' is wrapped in the li and ul elements, but the list is not bulleted. I'd really like to have the list bulleted like the rest of my sidebar. Am I missing something or is this a plugin issue?

    here it want is happening in my sidebar:

    <li><img src="<?php bloginfo('template_directory'); ?>/images/side_movies.jpg" alt="Movies" border="0" />
    <ul>
    <?php wp_cat_posts(3); ?>
    </ul>
    </li>

    Here's a link to the site, it is the movies category.
    http://www.miabifilms.com

    I'm confused.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.