wp-layout.css … find the meta li definition, set the list-style-type setting to none.
Example
list-style-type: none;
That’s it.
TG
Thread Starter
Anonymous
still doesn’t work – even if I even deleted the wp-layout.css from the server and still there is a bullet in front of the category name…
That’s because the bullet is generated by the WordPress code. It is possible to get rid of it by modifying the php call for the category:
<?php the_category (‘,’) ?>
however the recommended method is to hide it in the CSS as TG suggested.
We get a lot of questions on this. I’m surprised it didn’t come up when you searched before posting.
Thread Starter
Anonymous
10x a lot! 🙂
I have quite a trouble with removing the bullets from various tags – from the
– <?php list_cats() ?>
– <?php get_archives() ?>
and <?php get_links() ?>
Generally, which files determine the presence of bullets? (I have all the wp-layout.css files not uploaded, but still there are bullets)
Thread Starter
Anonymous
These guys are right. There is absolutely no need to edit the index xhtml or heaven forbid the php in order to get the functionality/style you want. Lists by default come with a bullet. The bullet is removed by using css in wp-layout. The necessary style rule is explained above. That is it. Period.
Exactly as the Anon’s have said. Just make sure you are changing the correct line in wp-layout.css:
.meta ul {
display: inline;
margin: 0;
padding: 0;
list-style: none;
}
The list-style: none; will get rid of the bullets. I like to have mine display on a single line, so I also use display: inline;
The *only* way to get lists to display without the bullets is in your css file. Deleting the wp-layout.css file will not, therefore, solve the problem.
(Is it just me, or does this issue start anew about once a week???)
-Tony
Thread Starter
Anonymous
Sorry WillM but you sent the guy off at a tangent by suggesting bullets were generated “by the wordpress code”. Default list behaviour is in the xhtml specification. Word Press has nothing to do with it.
OK, but if WordPress isn’t inserting the list markup – default behavior for which IS a bullet – how is it appearing? Magic?
Thread Starter
Anonymous
Yeah. OK. Clarity never hurts. 😉
Thread Starter
Anonymous
I’m very sorry to bug you again.
I do get it that the presence of the bullets is coming from the css, but I’m not using the wp-layout.css
I put the following code
.meta ul {
display: inline;
margin: 0;
padding: 0;
list-style: none;
list-style-type: none;
}
.meta li {
display: inline;
list-style: none;
list-style-type: none;
}
in my other css and still there are bullets. Simply cannot figure it out.
Thread Starter
Anonymous
sorry – I finally figured it out!
but another question arouse – is there a way of not using
- at all?
Like I would like to have my categories like
Category 1
Category 2
etc…
10x in advance!
And for future reference, see NuclearMoose’s awesome take on this:
http://wiki.wordpress.org/index.php/Bullets
Thread Starter
Anonymous
10x a lot! 🙂
However, in IE 6 there is an extra indentation for each < li > while in Mozilla based browser everything is ok. Any ideas how to fix this?
Thread Starter
Anonymous
The anon post above cena’s is displaying H & V scrollbars even though the content is nowhere near as wide as the *box*. I am on FF.