Good day
I am struggling to move my navigation bar out of another box, it should be above it and under the company logo. Any help would greatly be appreciated.
Here is my header template code in wordpress.
Thank you
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
; charset=<?php bloginfo('charset'); ?>" />
<?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description');
} elseif (is_category() ) {single_cat_title(); echo " - "; bloginfo('name');
} elseif (is_single() || is_page() ) {single_post_title(); echo " - "; bloginfo('name');
} elseif (is_search() ) {bloginfo('name'); echo " search results: "; echo wp_specialchars($s);
} else { wp_title('',true); }?>
" type="text/css" media="screen" />
<?php $favico = get_option('vmstyle_custom_favicon');?>
"/>
RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
" />
<?php wp_head(); ?>
<?php if (is_home()) :
$slideshowspeed = (get_option('vmstyle_slideshowspeed')) ? get_option('vmstyle_slideshowspeed') : 5000;
$slide_transition = (get_option('vmstyle_slide_transition')) ? get_option('vmstyle_slide_transition') : "fade";
?>
<?php endif; ?>
<?php $cufon_fonts = get_option('vmstyle_cufon_fonts'); if ($cufon_fonts == "") $cufon_fonts = "Vegur_300.font.js";?>
>
<?php $logo_url = get_option('vmstyle_logo');?>
" alt="<?php bloginfo('blogname');?>" />
<?php
if (function_exists('wp_nav_menu')) {
wp_nav_menu( array( 'menu_class' => 'navigation', 'theme_location' => 'topnav', 'fallback_cb'=>'vmstyle_topmenu_pages','depth' =>4 ) );
} else {
vmstyle_topmenu_pages();
} ?>
<?php if (is_home()) include (TEMPLATEPATH.'/slideshow.php'); ?>
<?php if (is_home()) : ?>
<?php $site_slogan = get_option('vmstyle_site_slogan');?>
<?php if ($site_slogan) echo stripslashes($site_slogan); else echo "Valuemetrics";?>
<?php
$contactbox_text = get_option('vmstyle_contactbox_text');
$contactbox_link = get_option('vmstyle_contactbox_link');
$contactbox_image = get_option('vmstyle_contactbox_image');
?>
">
<?php echo $contactbox_text ? $contactbox_text : __('Get in Touch','vmstyle');?>
(UK) +44 (0) 1676 523 535
(SA) +27 (0) 7318 77044
<?php endif; ?>
I am struggling to move my navigation bar out of another box, it should be above it and under the company logo. Any help would greatly be appreciated.
Here is my header template code in wordpress.
Thank you
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
; charset=<?php bloginfo('charset'); ?>" />
<?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description');
} elseif (is_category() ) {single_cat_title(); echo " - "; bloginfo('name');
} elseif (is_single() || is_page() ) {single_post_title(); echo " - "; bloginfo('name');
} elseif (is_search() ) {bloginfo('name'); echo " search results: "; echo wp_specialchars($s);
} else { wp_title('',true); }?>
" type="text/css" media="screen" />
<?php $favico = get_option('vmstyle_custom_favicon');?>
"/>
RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
" />
<?php wp_head(); ?>
<?php if (is_home()) :
$slideshowspeed = (get_option('vmstyle_slideshowspeed')) ? get_option('vmstyle_slideshowspeed') : 5000;
$slide_transition = (get_option('vmstyle_slide_transition')) ? get_option('vmstyle_slide_transition') : "fade";
?>
<?php endif; ?>
<?php $cufon_fonts = get_option('vmstyle_cufon_fonts'); if ($cufon_fonts == "") $cufon_fonts = "Vegur_300.font.js";?>
>
<?php $logo_url = get_option('vmstyle_logo');?>
" alt="<?php bloginfo('blogname');?>" />
<?php
if (function_exists('wp_nav_menu')) {
wp_nav_menu( array( 'menu_class' => 'navigation', 'theme_location' => 'topnav', 'fallback_cb'=>'vmstyle_topmenu_pages','depth' =>4 ) );
} else {
vmstyle_topmenu_pages();
} ?>
<?php if (is_home()) include (TEMPLATEPATH.'/slideshow.php'); ?>
<?php if (is_home()) : ?>
<?php $site_slogan = get_option('vmstyle_site_slogan');?>
<?php if ($site_slogan) echo stripslashes($site_slogan); else echo "Valuemetrics";?>
<?php
$contactbox_text = get_option('vmstyle_contactbox_text');
$contactbox_link = get_option('vmstyle_contactbox_link');
$contactbox_image = get_option('vmstyle_contactbox_image');
?>
">
<?php echo $contactbox_text ? $contactbox_text : __('Get in Touch','vmstyle');?>
(UK) +44 (0) 1676 523 535
(SA) +27 (0) 7318 77044
<?php endif; ?>