Hi,
I am needing to make a drop down for one of my buttons. It is on a wordpress blog if that helps any.
I currently have: Home, About, Art, Portfolio. I would like to have a links button drop out of about.
my php is this currently:
<ul id="nav">
<li<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { echo ' class="current_page_item"'; } ?>>
<a href="<?php bloginfo('url'); ?>">Home</a></li><?php wp_list_pages('sort_column=id&depth=1&title_li=&exclude=9,10'); ?>
</ul>
<div class="clear"></div>
and the css for the nav is this:
a{color:#c6c8ca;text-decoration:none;font-weight:bold;outline:none;}
/* a:hover{color:#289bc6;} */
#container{width:800px;background:#fff;margin:0 auto;}
#logo{padding: 7px 0px 0px 7px;font-size:23px;line-height:45px;color:#008cb7;height:37px;float:left;}
#nav{float:right;margin-right:10px;}
#nav li{display:inline;}
#nav li a{padding: 7px 30px 7px 30px;font-weight:normal;color:#008cb7;background:#fff;text-transform:uppercase;line-height:40px;}
#nav li a:hover, #nav li .active, #nav .current_page_item a, #nav li a.current_page_item{background:#c6c8ca;color:#008cb7;}
/* #nav li a:active{background:#008cb7;} */
.clear{clear:both;}
I do not have a very high codeing skill... i just know enough to get by.. is there an easy way to accomplish this?
Thanks!