1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Subnav Wordpress css span help.

Discussion in 'CSS' started by caligrafx, Oct 13, 2009.

  1. #1
    I can't figure out for the life of me what is wrong with the sub nav. I think it has something to do with the the header.php file. I'm not sure how or even if I can add a <span> to the nav tag.

    Nav Code : Header.php

    <div id="mid">
    <?php
      if($post->post_parent)
      $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
      else
      $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
      if ($children) { ?>
      <ul>
      <?php echo $children; ?>
      </ul>
      <?php } ?>
    
    		<div id="mid-inner">
    			<div id="search">
    				
    			</div>
    		</div>
    	</div>
    Code (markup):

    Here is a link to the website I am referring to under the nav. Its the "subnav" class is "mid".

    Website Link

    Thanks,
    Adam
     
    caligrafx, Oct 13, 2009 IP
  2. SCLocal

    SCLocal Notable Member

    Messages:
    1,270
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    235
    #2
    It looks like it has something to do with your stylesheet.css or whatever css you're referencing. Is the sub-nav suppose to look like the main nav?
     
    SCLocal, Oct 13, 2009 IP
  3. caligrafx

    caligrafx Active Member

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #3
    caligrafx, Oct 14, 2009 IP
  4. caligrafx

    caligrafx Active Member

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #4
    Can anyone help me with this! :)
     
    caligrafx, Oct 15, 2009 IP