• Resolved stealthfiction

    (@stealthfiction)


    I installed a new template that did not have a category view. I did some modifacations to add one but now the post count is below the category and not after it, in the side bar,
    this is how it apears now.
    eqample:
    Categories
    LIFE
    (32)
    WORK
    (18)
    Misc
    (12)

    with the post count not on the same line as the cat title it messes up the styling of my template.

    you can check it out at https://stealthfiction.com

    if anyone knows how i can fix it or change it to display the way i want it please let me know

Viewing 8 replies - 1 through 8 (of 8 total)
  • i’m not sure if you messed with the code already, but i’m not seeing the post count numbers in either Firefox or IE…

    i’d think you have two options – making the sidebar wider (and the content div smaller) or making the font size smaller so that more can fit on that one line…

    either that, or get rid of the post numbers all together?? (the obvious, yet probably not-so-desirable answer, of course!) ??

    Thread Starter stealthfiction

    (@stealthfiction)

    well i removed the post numbers. the thing is there was plenty of room on the lines for the post count but it still went on another line. and i can’t mess with the sidebar with without editing all the images.

    if you have any other suggestions i’d love to try them.

    Thread Starter stealthfiction

    (@stealthfiction)

    well i removed the post numbers. the thing is there was plenty of room on the lines for the post count but it still went on another line. and i can’t mess with the sidebar with without editing all the images.

    if you have any other suggestions i’d love to try them.

    can you show us the exact code you’re using in the sidebar to list the categories? just the portion for the categories…

    https://validator.w3.org/check?uri=http%3A%2F%2Fstealthfiction.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1#line-344

    You’ve got 48 errors there – most of them are about a certain post, but some appear to have to do with things in your sidebar… maybe try checking those out?

    I really am at a loss of other options here… if fixing the errors doesn’t help, I sure hope someone else can figure this out for you…

    Thread Starter stealthfiction

    (@stealthfiction)

    im just a hack. i have no idea where to gegin my searching for errors on the sidebar ?? here
    s the sidebar code. maybe that will help. and thank you for your time ??
    <?php include('configuration.php'); ?>

    <div id="menu">
    <div id="menu2">
    <div id="menu3">

    <div class="metabox">
    <?php get_calendar(); ?>

    <form method="get" id="searchform" action="/">

    <input type="text" value="" name="s" id="s" alt="Search"/>

    </form>
    </div>

    <div class="linkcontainer">
    <div id="search-results"></div>

    <?php if($show_menu_3 == yes) { ?>

    <div class="itemhead"><span style="background: url(<?php bloginfo('template_directory'); ?>/icons/images.gif) left no-repeat;"><?php echo($menu_3_title); ?></span></div>
    <ul id="design" class="items">
    <?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0'); ?>
    <li class="shadow">

    <?php } else {} ?>

    <?php if($show_menu_1 == yes) { ?>

    <div class="itemhead"><span style="background: url(<?php bloginfo('template_directory'); ?>/icons/group.gif) left no-repeat;"><?php echo($menu_1_title); ?></span></div>
    <ul id="people" class="items">
    <?php wp_get_links($menu_1_id_number); ?>
    <li class="shadow">

    <?php } else {} ?>

    <?php if($show_menu_2 == yes) { ?>

    <div class="itemhead"><span style="background: url(<?php bloginfo('template_directory'); ?>/icons/world.gif) left no-repeat;"><?php echo($menu_2_title); ?></span></div>
    <ul id="dailies" class="items">
    <?php wp_get_links($menu_2_id_number); ?>
    <li class="shadow">

    <?php } else {} ?>

    <?php if($show_meta_menu == yes) { ?>

    <div class="itemhead"><span style="background: url(<?php bloginfo('template_directory'); ?>/icons/brick.gif) left no-repeat;">Site Meta</span></div>
    <ul id="meta" class="items">

    wow – well there’s a bunch of functions in there that i personally have never seen before

    NOTE: This doesn’t mean they’re wrong – just that I’ve never seen them before.

    And don’t beat yourself up over this… it could just be the theme you’re using… I don’t know.

    But there seem to be a LOT of extra divs, and a lot of strange PHP code I’ve never seen… hopefully we can garner the attention of a PHP whiz or some such here and help you get this sorted out…

    Thread Starter stealthfiction

    (@stealthfiction)

    yeah if you check out my theme, it uses alot of extra’s. thanks for trying though.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Category Post count messing up templete!’ is closed to new replies.