...

View Full Version : need help with logo position :-(



Coldcut
05-05-2011, 11:34 PM
Hello everybody,

I am currently in the process of adjusting a WordPress theme and have desperately been trying to change the logo position - it just doesn't work :-(

I'd like to place the logo above the main menu, not below. I've tried to change the positions in the header-file but didn't succeed :-( Maybe someone can help? Would be very much appreciated ... Let me know what infos you need ...

This is the code in the header file:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/slider.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/pagenavi.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/mainmenu.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/shortcodes.css" />

<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>

<style type="text/css" media="screen"> </style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/superfish.js"></script>

<script type="text/javascript">
jQuery(function(){
jQuery('ul.superfish').superfish();
});
</script>

<?php if (is_front_page()) : ?>
<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/slider.js"></script>
<?php endif; ?>

</head>
<body>
<div id="container">
<div id="header">
<div id="top">
<?php if ($opal_search_disable == "No") { ?>


<div id="mainmenu">
<?php if ( has_nav_menu( 'main-menu' ) ) { ?>
<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'menu_class' => 'mainnav superfish' ) ); ?>
<?php } ?>
</div>
<?php include (TEMPLATEPATH."/searchform.php");?>
<?php } else { ?>
<div id="mainmenu2">
<?php if ( has_nav_menu( 'main-menu' ) ) { ?>
<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'menu_class' => 'mainnav superfish' ) ); ?>
<?php } ?>
</div>
<?php } ?>
</div>

<div id="topright">
<?php if ( has_nav_menu( 'topright-menu' ) ) { ?>
<?php wp_nav_menu( array( 'theme_location' => 'topright-menu', 'menu_class' => 'mainnav' ) ); ?>
<?php } ?>
</div>

<div id="logo">
<?php if ($opal_logo_disable == "No") { ?>
<a href="<?php echo get_option('home'); ?>/"> <img src="<?php echo $opal_logo_image;?>" alt="logo" /> </a>
<?php } else { ?>
<a href="<?php echo get_option('home'); ?>/" class="site-title"><?php bloginfo('name'); ?></a>
<?php } ?>
</div>

</div>



Thank you so much in advance for any help!

abduraooft
05-06-2011, 09:22 AM
Please post a link to your page.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum