WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar and css (4 posts)

  1. shareski
    Member
    Posted 8 years ago #

    I can't seem to determine how to style my categories and post listing in my sidebar.

    http://danceimagesbybj.com

    I want the lists to look the same for both posts and pages. currently the pages are intented but the categories are not. I'd like to eliminate the spacing between categories and have them appear more like the page listings. As well, in IE, the category, "Teacher's Corner" does not appear???
    Also the heading for my calendar does not appear in IE, only in Firefox.

    Here's the sidebar code:

    <div id="sidebar">

    • Home<img src="<?php bloginfo('stylesheet_directory'); ?>/images/h2.gif" class="righth2img" alt="h2" /></h2>
    • <h2><?php _e('Pages'); ?>
      <img src="<?php bloginfo('stylesheet_directory'); ?>/images/h2.gif" class="righth2img" alt="h2" /></h2>

        <?php wp_list_pages('exclude=25,89,90,91,92,93,94,95,96,97,98,99,18,7,8,9,10&title_li=<h2></h2>' ); ?>
    • <h2><?php _e('Categories'); ?>
      <img src="<?php bloginfo('stylesheet_directory'); ?>/images/h2.gif" class="righth2img" alt="h2" /></h2>

        <?php wp_list_cats('exclude=5,7,8,9'); ?>

    • <h2>Calendar</h2>
      <img src="<?php bloginfo('stylesheet_directory'); ?>/images/h2.gif" class="righth2img" alt="h2" /></h2>

        <?php ec3_get_calendar(); ?>
    • <?php _e('Events'); ?>
      <?php ec3_get_events(5); ?>

  2. shareski
    Member
    Posted 8 years ago #

    I've discovered that the specific problem of the category not displaying in IE is due to the description I created for the category. It included links to the child categories since the Parent cateogory simply is intended to link to the child categories.

    So now the dilemna is how can I have a category listed in the sidebar which excludes all the child categories and yet has a description which links to the children?

    This is intended to clean up the sidebar.

  3. bobster13
    Member
    Posted 8 years ago #

    shareski - how did you edit the post within the meta links?

  4. shareski
    Member
    Posted 8 years ago #

    Not sure what you mean.

  5. Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags