• Role-Playing 02.10.2009

    Gamestopica has been dormant for quite some time, due to real life problems and the additional coding jobs which I have take up. However, fret not, I have also filled my time by watching Star Trek Voyager (which I was told ‘You made a very bad choice’) and Babylon 5, so hopefully I would have space-opera based adventure seeds.

    Another thing which I am doing is to catalogue the adventure seeds – so far I have managed to do some, but I have a presentation problem. Hence which is why I would appreciate the help of a CSS expert. You see, the stylesheet renders <a> as a block element with a background image. When Wordpress displays the number of posts in the category, it places it after the link. This is why the display looks ugly now. So it I either remove the >> thingy or I find some way to shift the background image to somewhere.

    Any help would be appreciated!

    Related Articles:

    Share This:
    • Print this article!
    • Digg
    • Sphinn
    • del.icio.us
    • Facebook
    • Mixx
    • Google Bookmarks
    Creative Commons License
    This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Singapore License.

    Posted by extrakun @ 4:02 pm

    Tags:

  • 4 Responses

    WP_Modern_Notepad
    • Saragon Says:

      I’ve looked at your stylesheet and the HTML that WordPress produces, and I’m not sure that the CSS really needs to be changed. You may want to look at tweaking the output of the function that’s tallying up all the posts in that category. All you really need to do, after all, is move that number into the <a> tags.

    • extrakun Says:

      That would require me to hack the Wordpress code for generating the number, which I quite loath to do – it means for each upgrade of Wordpress I have to do the hack again. Thanks anyway!

    • codevark Says:

      Have you tried styling the link so that the block has a width small enough to allow ” (xxx)” after the graphic? Or does WP also insert a ?

      Block elements are nice because they give you a lot of control over the presentation. I wouldn’t be surprised if there were several ways to accomplish what you want to do.

    • extrakun Says:

      WP insert the a tag, unfortunately.

    Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.