• Hi

    I installed a nice WordPress theme called Magilas on my site. I have made a header which covers all the header space (960 px wide), but the header.php that came with the theme cuts my banner down and makes space for two small banners instead of one big one.

    Here is the current code:

    <?php require 'functions/required/template-top.php'; ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    <?php wp_head(); ?>
    <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
    <?php $scheme = get_option(PADD_THEME_SLUG . '_color_scheme','red'); ?>
    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() . '/schemes/' . $scheme . '/style.css' ?>" type="text/css" media="screen" />
    <!--[if IE]>
    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() . '/css/ie.css' ?>" type="text/css" media="screen" />
    <![endif]-->
    <?php
    $icon = get_option(PADD_THEME_SLUG . '_favicon_url','');
    if (!empty($icon)) {
    	echo '<link rel="shortcut icon" href="' . $icon . '" />' . "\n";
    }
    ?>
    <script type="text/javascript" src="<?php echo get_option('home'); ?>/wp-includes/js/jquery/jquery.js?ver=1.3.2"></script>
    <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.s3slider.js"></script>
    <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/main.loading.js"></script>
    <?php
    $tracker = get_option(PADD_THEME_SLUG . '_tracker_head','');
    if (!empty($tracker)) {
    	echo stripslashes($tracker);
    }
    ?>
    </head>
    
    <body>
    <div id="padd-container">
    
    	<div id="padd-header">
    		<div id="padd-header-wrapper">
    			<div class="padd-box padd-box-title">
    				<h1><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    				<p><?php bloginfo('description'); ?></p>
    			</div>
    
    			</div>
    
    		</div>
    	</div>
    
    	<div id="padd-categories" class="padd-box padd-box-categories">
    		<h2>Categories</h2>
    		<div class="padd-interior">
    			<ul>
    				<li<?php if (is_home()) { echo ' class="current-cat"'; } ?>><a href="<?php echo get_option('home'); ?>">Hjem</a></li>
    <li><a href="http://haugesundtaxi.no/?page_id=24">Bestill</a></li>
    <li><a href="http://haugesundtaxi.no/?page_id=24">Styret</a></li>
    <li><a href="http://haugesundtaxi.no/?page_id=24">Ledige jobber</a></li>
    <li><a href="http://haugesundtaxi.no/?page_id=24">Kontakt</a></li>
    				<?php wp_list_pages('sort_column=name&optioncount=0&hierarchical=0'); ?>
    			</ul>
    		</div>
    	</div>
    
     <?php if (is_home()) : ?>
    	<div id="padd-featsubs">
    		<div id="padd-featsubs-wrapper">
    			<div class="padd-t"></div>
    			<div class="padd-m">
    				<div id="padd-featured" class="padd-box">
    					<h2>Featured Posts</h2>
    					<div class="padd-interior">
    						<?php padd_featured_posts(); ?>
    					</div>
    				</div>
    				<div id="padd-subscribed">
    					<h2>Subscribe to My Blog</h2>
    					<div class="padd-interior">
    						<?php padd_widget_funct_subscribe_home(); ?>
    					</div>
    				</div>
    				<div class="padd-clear"></div>
    			</div>
    			<div class="padd-b"></div>
    		</div>
    	</div>
    <?php endif; ?>
    
    	<div id="padd-body"<?php echo is_home() ? ' class="padd-body-home"' : ''; ?>>
    		<div id="padd-body-wrapper">

    I dont really know how to explain better, but please take a look at the site and see what I mean in the header.

    How do I get ONE big header there instead of what’s there before? Help will be much appreciated!

    Regards
    Nordino

  • The topic ‘Edit header’ is closed to new replies.