• Hi I currently have the MQB theme on my site. I would like to replace the header with a .gif banner but I am unsure how to do this? I have a fairly basic understanding of coding.

    site is https://picturesofwarts.net

    header.php – example of existing coding…..

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php bloginfo(‘name’); ?><?php if ( is_single() ) { ?> » 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’); ?>” />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”wrap”>
    <div id=”header”>
    <div id=”headone”>
    <ul id=”menu”>
    <li class=”<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists(‘is_tag’) and is_tag()) ) { ?>current_page_link<?php } else { ?>page_link<?php } ?>”>“><?php _e(‘Home’); ?>

    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <h2><?php bloginfo(‘description’); ?></h2>
    </div>
    <div id=”headtwo”>
    </div>
    </div>
    <div id=”container” class=”fix”>

Viewing 1 replies (of 1 total)
  • Try uploading a 140px high image called header.gif to your theme’s images directory, then editing style.css and changing:

    #header {
    background:#1E1E1E;
    height:140px;
    margin:0;
    padding:0;
    width:100%;
    }

    to

    #header {
    background:#1E1E1E url(images/header.gif no-repeat left top;
    height:140px;
    margin:0;
    padding:0;
    width:100%;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Add new Banner Heading to WP Theme’ is closed to new replies.