• Resolved jarom1

    (@jarom1)


    The 3 categories in the sidebar on the left look like they’re part of an unordered list. The the other categories “Branding” “Domain Names” etc… aren’t categories yet and are what the categories should look like without the
    <li> bullets:
    https://internetmarketingforbusinessowners.com/wordpress/

    The code, as best I can figure, is simply:

    <?php wp_list_categories('show_count=1&title_li=&nbsp;'); ?>

    but I don’t know where the bullet points are coming from.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • the bullets are coming from the fact that they are part of a list, and lists are styled, by default.
    what is underneath them is not.

    .cat-item {
    	list-style: none;
    }

    in your stylesheet

    will make those disks go away.

    Thread Starter jarom1

    (@jarom1)

    Thanks for the suggestion.

    I’ve been through the stylesheet that is connected to the file (and a couple that aren’t just in case) to find the style that governs it. I haven’t been able to find anything with all my tweaking and testing.

    I’d really just like to find out how to tell it not to be an unordered list. Maybe that’s not possible. Maybe all categories are unordered lists by WP default and can’t be changed. Anyone know?

    Thank you.

    wp_list_categories by default generates lists, but with the style parameter you can remove them.

    jarom1,

    I’ve been through the stylesheet that is connected to the file (and a couple that aren’t just in case) to find the style that governs it. I haven’t been able to find anything with all my tweaking and testing.

    I provided that up above.

    Thread Starter jarom1

    (@jarom1)

    I appreciate your help whooami–I made completely new stylesheets for this site so .cat-item was not the style governing the list.

    Your comment was very helpful too iridiax. That helped things make sense.

    In the end it was an arcane little bit of css code that took the discs off and I can’t begin to explain why. The only thing that irks me is that it seems wordpress displays things differently based on it’s own css requirements (i.e. you have to have a # in front of your hexadecimal color numbers or wp doesn’t acknowledge that color). How far my ul text is indented not only changes from IE to FF, but from wordpress in IE to wordpress in FF.

    I’m sure it’s just wordpress requiring very strict and cleanly written css code, but I’ve got years worth of style sheet code all jumbled together, and having to go back and separate out all the sloppy short-hand code I use has doubled this project time.

    Thanks for letting me rant and thanks for the help.

    .cat-item was not the style governing the list.

    when I looked at it, thats what was governing it. I use the web developer toolbar, I see changes on the fly.

    The only thing that irks me is that it seems wordpress displays things differently based on it’s own css requirements (i.e. you have to have a # in front of your hexadecimal color numbers or wp doesn’t acknowledge that color).

    thats simply not true.

    How far my ul text is indented not only changes from IE to FF, but from wordpress in IE to wordpress in FF.

    .. and the same would hold true were you not using wordpress.

    I’m sure it’s just wordpress requiring very strict and cleanly written css code

    Wrong again. WordPress requires structure. Style is completely left out of the equation.

    Thanks for letting me rant and thanks for the help.

    Youre welcome, glad it’s sorted.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘can’t get rid of unordered list dots by categories in sidebar’ is closed to new replies.