[font=trebuchet ms]Hi Gang,
I’m having a heck of time getting these social icons on the menu bar to act right. They seem to work but have too much head room making the menu strange looking. Any ideas? I’ve looked through the several CSS files included with this wordpress theme but there doesn’t seem to be a setting for this.
Thanks,
Alan
Here’s the URL to the site. http://silverimageweddings.com
Here’s the PHP that creates the header.
<?php global $custom_settings; /* Allow the overriding of custom settings array on a per post/page basis using custom fields: */ if(is_single() || is_page()) { $post_or_page_id = $post->ID; } $data = get_post_meta($post_or_page_id, "custom_meta_values", true); if($data["hide_thumbnail_on_single"]) $custom_settings["layout"]["hide_thumbnail_on_single"] = $data["hide_thumbnail_on_single"]; if($data["columns"]) $custom_settings["layout"]["columns"] = $data["columns"]; /* ------------------------------------------------------------------------------------------- */ ?> > <?php wp_title(' - ', true, 'right'); ?> <?php bloginfo('name'); ?> <?php add_action('wp_head', 'add_stylesheets'); ?> <?php add_action('wp_head', 'add_javascript'); ?> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> >
<?php if($custom_settings["logo_text_based"]){ ?>
" alt="Logo" />
<?php } ?>
<>
<>
"><?php echo $custom_settings["logo_text_based"]; ?>
<?php }else{ ?> ">
<?php if($custom_settings["search_disabled"]) { echo ""; }else{ ?>
/" method="get" class="clearfix">
<>
<>
<?php } ?>
<>
-
<?php if($custom_settings["dropdown_disabled"]) { $depth = 1; } ?>
<?php $exclude = $custom_settings["menu_exclude"]; ?>
<?php wp_list_pages("title_li=&exclude=".$exclude."&depth=".$depth); ?>
<div class="grid_6">
</ul>
<?php
$social_footer_icons_count = 0;
for($i=0; $i<=10; $i++){
if($custom_settings["social"][$i]["url"] && $custom_settings["social"][$i]["icon"])
{
$social_footer_icons .= "<li><a href='".$custom_settings["social"][$i]["url"]."'><img src='".get_bloginfo("template_directory") ."/images/social_icons/".$custom_settings["social"][$i]["icon"]."' alt='".substr($custom_settings["social"][$i]["icon"],0,-4)."' /></li>";
$social_footer_icons_count++;
}
}
if($social_footer_icons_count > 0)
{
echo "<ul class='clean social softbutton right'>";
echo $social_footer_icons;
echo "</ul>";
}
?>
<><!--// menu-horizontal-->
<><!-- // grid_12-->
<><!--//header-->[/font]