Support » Fixing WordPress » tiny formatting question

  • In WP the default display for the categories for each post is

    Filed under: …..

    I want to replace “Filed under: ” with a tiny graphic. But if I remove <?php _e(“Filed under:”); ?> that’s right before <?php the_category() ?> in the index.php file, it automatically displays the category in a list form with a bullet. How can I remove that formatting?
    And it does the same thing for any meta fields I’ve added. I don’t want it to say, “Music: …..” I just want a tiny graphic to replace that.
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • If you only remove the Filed Under part, then, the listing style should not have changed. Take care not to remove anything else. put in the image where the Filed Under was.

    The ‘Filed under’ is controlled by the .meta tag in the CSS:
    For what you want though, it would seem you are after a small image to indicate the category used, and although the CSS can make it display inline and with no bullet, I’m not sure how you would get that effect.
    Not saying it’s not possible, just that it’s beyond me right now 🙂

    Don’t worry about PHP – this is all CSS 🙂
    The images you indicate show that you are getting a bulleted and indented list.
    What you are after would seem to be an inline list, albeit with two elements to it.
    If you could put the code into your blog – it is the one linked from your name ? – then we can see how to alter the CSS more easily.
    It needs two parts of the CSS changing right now though:
    Once it’s there, I’ll start looking 🙂

    I do not understand this at all. But from the 2 diagrams / examples posted none of this is necessary. It is straight CSS. But we do need a url and a full set of CSS to see.

    I am still not sure what the relationship between the 2 images posted and the url is. But you only need to do 3 things. Remove the dots. Remove the indent. Add the image. The references to meta are confusing me. This is straight category link styling yes?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.