• For some reason my blogs style sheet is only having an effect on the first two category links. You can see it at new.coolmac.org. You’ll notice that “All” and “Coolmac News” are styled like navigational buttons but my other two categories aren’t being effected by the CSS. Below is the code for the navigation. Also without having to start a new post can anyone tell me how I can remove the the number that displays how many posts I have in a category.

    <div id="cat-nav">
      <ul>
      <li class="all"><a href="<?php echo get_settings('home'); ?>/" title="All">All</a></li>
      <li class="all"><a href="<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>/"</a></li>
      </div>

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • This page will help for the listing issue:
    https://codex.www.ads-software.com/Template_Tags/wp_list_categories

    If you look at your actual code:

    <!--catigory navigation-->
      <div id="cat-nav">
      <ul>
      <li class="all"><a href="https://new.coolmac.org/" title="All">All</a></li>
      <li>	<li class="cat-item cat-item-1"><a href="https://new.coolmac.org/archives/category/uncategorized/" title="View all posts filed under CoolMac News">CoolMac News</a>
    </li><li class="cat-item cat-item-6"><a href="https://new.coolmac.org/archives/category/meeting-minutes/" title="View all posts filed under Meeting Minutes">Meeting Minutes</a>
    </li><li class="cat-item cat-item-5"><a href="https://new.coolmac.org/archives/category/upcoming-events/" title="View all posts filed under Upcoming Events">Upcoming Events</a>
    </li>
    </li>
      </ul>
      </div>
      <!--catigory navigation-->
    	<ul id="nav">
    	 	</ul>

    you’ll see the tags are all messed up. Nested bullets here aren’t picking up the styling.

    To remove the number you’ll need to edit the template for the file. But you must have done that already, I don’t see a number of posts on the site.

Viewing 1 replies (of 1 total)
  • The topic ‘CSS not styling all my links’ is closed to new replies.