Support » Themes and Templates » List bullet

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

Viewing 15 replies - 1 through 15 (of 20 total)
  • 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?

    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;
    }

    Okay. I got it. Thank you!! 🙂

    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?

    podz already descibed to make that work using css.

    Oh I understand now sorry!

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

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

    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]

    This does:

    ul li {
    list-style:none;
    }

    Put at the bottom of the css.

    But what about that line break?

    🙂

    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”.

    [Moderated – comments removed]

    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 ?

    davincim

    (@davincim)

    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?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘List bullet’ is closed to new replies.