WordPress.org

Ready to get started?Download WordPress

Forums

Category in Entry without bullets? (32 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    How can I display the category of each post in the post without the bullet points?
    If that made sense.

  2. tcervo
    Member
    Posted 10 years ago #

    In your CSS file, fine the section for .meta ul. Change it to:
    .meta ul {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
    }

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    I tried that, and it didn't work.

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    Might help to point out that the li tags are nested as in .meta ul ul li. Just hunt em down. It works. Believe us. Every day.

  5. tcervo
    Member
    Posted 10 years ago #

    Are you using the default wp-layout.css? If so, my previous code should work for the categories listed in the "Filed Under:" section, which I *think* is what you were asking about...If it's not working, then we'll need to look at your code to see what else might have changed...

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    This is the original anonymous again.
    I'm still having problems. I've gone through every CSS file I can think of (wp-layout.php, my skinned style sheet) and changed or added the list-style-type: none, and I'm still getting the bullets.
    If you need to look at my site, it's here.
    http://iris.melampus.net/
    Try not to laugh, it's still under construction.

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    Also, I have fiddled with wp-layout.php at some point, but I think it was probably just when I was trying to kill the bullets earlier.

  8. Anonymous
    Unregistered
    Posted 10 years ago #

    can't access your uri.

  9. Anonymous
    Unregistered
    Posted 10 years ago #

    I'm assuming URI is URL... if it isn't, I don't know what you're talking about. Sorry. x|
    Anyway. URL.
    The server's been having problems recently. I don't think everyone can see the website yet.

  10. aeryn
    Member
    Posted 10 years ago #

    I had a problem with that before too, anon, so I agree with others: use CSS to manipulate the bullets. It solved the problem. Look under .meta as tcervo said and that will change the way it looks. But if you're using your own css then it's probably a good idea to copy and paste from wp-layout.css and use same class name to achieve whatever you are trying to do.

  11. Anonymous
    Unregistered
    Posted 10 years ago #

    URI is what a URL was before we went semantic.Its in the SML spec.
    We can't assume all readers are on browsers.

  12. Anonymous
    Unregistered
    Posted 10 years ago #

    I just tried putting this into my custom css:
    [code] .meta ul { display: inline; margin: 0; padding: 0; list-style: none;}
    .meta li { display: inline; margin: 0; padding: 0; list-style: none;}
    .meta ul li { display: inline; margin: 0; padding: 0; list-style: none;}
    .meta ul ul { display: inline; margin: 0; padding: 0; list-style: none;}
    .meta ul ul li { display: inline; margin: 0; padding: 0; list-style: none;}
    #menu ul { list-style-type: none; }
    #menu li { list-style-type: none; }
    #menu ul li { list-style-type: none; }
    #menu ul ul { list-style-type: none; }
    #menu ul ul li {list-style-type: none; }[/code]
    Still no effect.

  13. Anonymous
    Unregistered
    Posted 10 years ago #

    Ignore the [code] tags. Sorry.
    I still have no real idea what the other anon is talking about, but... yeah.

  14. Anonymous
    Unregistered
    Posted 10 years ago #

    Are you absolutely sure your index is hooked up to the css with the right call? It is a common error, believe us.

  15. Anonymous
    Unregistered
    Posted 10 years ago #

    Plus try changing the rule to list-style: none (no need for the type here)

  16. Anonymous
    Unregistered
    Posted 10 years ago #

    I tried getting rid of the -type. No effect.
    The CSS sheet seems to be affecting the rest of the page, so I'm assuming they're connected.

  17. Anonymous
    Unregistered
    Posted 10 years ago #

    I just looked at your code. It is clear as a bell where the problem is but explaining it may be difficult. I hope you don't mind me saying your code may be a little eerrrrr *jumbled*. As I understand your blog you are quite young and it is a fine effort to get this far. Nothing serious but you need to tweak (more than) a bit. You have got body tags before the doc type and that type of stuff. Plus you have got the css in the head. Ok but you now have the ul in a class. Plus I couldn't see a menu anywhere. So: maybe have a break, clear your head, and reread all your code from the top as if you are reading it for the first time. You will see it all. Good luck. Let us know how you get on. We HATE those bullets.

  18. OperaManiac
    Member
    Posted 10 years ago #

    help me these bullet questions are making me mad...
    /me runs for cover...

  19. Anonymous
    Unregistered
    Posted 10 years ago #

    Thought you were busy getting the new Opera fired up ?!:-) I am on point on lists.

  20. tcervo
    Member
    Posted 10 years ago #

    I would strongly recommend making a backup of your current index.php file. Then, re-upload the default index.php and wp-layout.css from the WordPress install files. View the site in your browser, then view the source it's created. Take a look at each section: the different div's, classes, etc. Then, one by one, make changes to the wp-layout.css file to style it the way you want. (Remember to make a backup.)
    FYI: the default behavior, if you don't change anything in index.php or wp-layout.css files, is for the categories under the post title to have NO bullets.
    Looking at your code (as Anon said), you have two sets of html declarations, two sets of head tags, etc. You have a bunch of style near the top, but without a proper declaration. I'm not sure what all those font classes are for, but ok...The bottom line is, you should start from the beginning and make one change at a time until you get it the way you want. It looks as if something went wrong along the way, and trying to fix it as-is will probably drive you nuts. Take a deep breath, then dip your toes back in...slowly.
    -Tony

  21. Anonymous
    Unregistered
    Posted 10 years ago #

    Usual concise recipe from tcervo.

  22. Anonymous
    Unregistered
    Posted 10 years ago #

    This IMHO is out of line.The operator of the site in question is - as I understand it - fourteen years of age. It is a very fine effort to get this far. With some encouragement who knows how her skill set might develop.

  23. Anonymous
    Unregistered
    Posted 10 years ago #

    I am not quite sure that we are all sick of bullet questions. The question often contains more than the question. In this case the bullet question introduced what is the real issue which is persons new to css and WP and dealing with both simaltaneously. Strictly css is off topic for WP in its entirety. But there is a design forum. And it is plain that there is a mighty need for it. But heck if people do not have questions then we can't post replies. Then where would we be ;). Bullets in lists? As they say in Texas : Bring em on ;)

  24. WillM
    Member
    Posted 10 years ago #

    It is a very fine effort to get this far. With some encouragement who knows how her skill set might develop.

    Yes, in a few months time she might even be ready to use WordPress. Let's not pretend this is a tool for beginners - that does any potential users a great disservice. To learn XHTML, CSS and PHP all at the same time is a hell of a learning curve and I think it is reasonable to suggest that people should get up to speed on CSS BEFORE they install, it will make their experience of WordPress much less frustrating.

  25. Anonymous
    Unregistered
    Posted 10 years ago #

    There you go again. Once installed which I will allow is a mighty caveat no php, xhtml or css is needed. You are going to be stuck with the interface but you can blog to your hearts content, straight out of the box. Nearly all difficulties posted here arise when the fiddling starts. But that is the fun of it. Personally I am not partial to battleship grey. But it is a choice.

  26. Anonymous
    Unregistered
    Posted 10 years ago #

    Quote: "Jesus H. Christ. As by the sounds of it - <font> tags?<body> tag before the doctype? - this person's site is not going to validate any time soon, why not give her the quick dirty solution of removing the bullets through the php call?
    <?php the_category (',') ?>
    Yeah, its not semantic, but its valid XHTML and it saves us another ten posts trying to explain the basic principles of CSS and why it is a bad idea to mess with index.php. Anyway, it is unlikely that regular readers of a badly coded blog will be using anything other than a web browser to view it. Actually, very unlikely that they will be using anything other than IE for Windows ;)"
    Wow, aren't you high and mighty? I agree with the person who said this was out of line. Please.

  27. WillM
    Member
    Posted 10 years ago #

    IMHO it is 'out of line' to attack regular posters without even taking a couple of seconds to register. I had to do it so why are the rules different for you?

  28. OperaManiac
    Member
    Posted 10 years ago #

    someone forced u to register?

  29. WillM
    Member
    Posted 10 years ago #

    I was getting called a troll and a coward for posting anonymously so yeah, there was a certain amount of pressure.

  30. OperaManiac
    Member
    Posted 10 years ago #

    ooh... well lets hope more anons have enough decency to do that! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.