Hel Regarding Wordpress Theme Header Cutomization

Discussion in 'WordPress' started by vatu, Mar 10, 2010.

  1. #1
    i am using the convergence theme on my blog Bollyone.com, But don,t know how to add 728X90 ads banner on above of top nav, (Home, Advertise, Gallery ) Kindly help me on this.
    I tried to add the tags in header file, but it didn,t work well there.
     
    vatu, Mar 10, 2010 IP
  2. vatu

    vatu Active Member

    Messages:
    372
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #2
    No replies :(
     
    vatu, Mar 10, 2010 IP
  3. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i can help you with that, you have to edit some files , in header.php paste the code above <div id="page"> and that will do the trick
     
    Wp-Mod.Com, Mar 14, 2010 IP
  4. digital_helen

    digital_helen Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    right,
    I faced such kind of thing 2 years ago, i can do it for you.
    if you want me to help you come and PM me
    Thanks
     
    digital_helen, Mar 14, 2010 IP
  5. vatu

    vatu Active Member

    Messages:
    372
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5

    Hi kindly let me know where to add, and how to

    <!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">
        <title><?php if (is_home()) { ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php } else { ?><?php wp_title($sep = ''); ?> - <?php bloginfo('name'); ?><?php } ?></title>
        <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
        <meta name="description" content="<?php bloginfo('description') ?>" />
    <meta name="tweetmeme-title" content="<?php wp_title(''); ?>" />
    
        <?php if(is_search()) { ?>
        <meta name="robots" content="noindex, nofollow" /> 
        <?php }?>
        <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/superfish.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'); ?>" />
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverintent.js"></script>
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
        <script type="text/javascript"> 
            $(document).ready(function(){ 
                $("ul.sf-menu").superfish({
                    autoArrows:  false,
                    delay:       400,                             // one second delay on mouseout 
                    animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
                    speed:       'fast',                          // faster animation speed 
                    autoArrows:  false,                           // disable generation of arrow mark-up 
                    dropShadows: false                            // disable drop shadows             
                    }); 
            });
        </script>
    
    
        <?php wp_head(); ?>
    
    </head>
    
    <body>
    
    <script type="text/javascript">
        var infolink_pid = 14841;
        var infolink_wsid = 2;
    </script>
    <script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>
    
    <div id="page">
    
    
    
        <div class="topnav">
    
            <ul>
                <li class="first"><a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>">Home</a></li>
                <?php wp_list_pages('title_li='); ?>
            </ul>
            <ul class="fr">
                <li class="first"><a href="http://feeds2.feedburner.com/Technobuzz" title="Subscribe To Our Posts RSS Feed" target="_blank">Posts</a></li>
                <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="Subscribe To Our Comments RSS Feed" target="_blank">Comments</a></li>
                <li><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=797132" title="Subscribe To Receive Email Updates" target="_blank">E-mail</a></li>
                <li><a href="http://feeds2.feedburner.com/Technobuzz" title="Subscribe To Our Posts RSS Feed"target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/ico-rss.gif" alt="RSS Feeds" /></a></li>
    <li><a target="_blank" href="http://twitter.com/Raj_R"><img src="http://www.technobuzz.net/wp-content/themes/revolution_city-10/images/twitter_16.png" alt="Follow via Twitter" title="Follow via Twitter" /></a></li>
    <li><a target="_blank" href="http://www.facebook.com/pages/Technobuzznet-Fan-Club/339609931379"><img src="http://www.technobuzz.net/wp-content/themes/revolution_city-10/images/facebook.png" alt="Follow via Facebook" title="Follow via Facebook" /></a></li>
    <li><a target="_blank" href="http://friendfeed.com/technobuzz"><img src="http://www.technobuzz.net/wp-content/themes/revolution_city-10/images/friendfeed_16.png" alt="Follow via FreiendFFeed" title="Follow via FriendFeed"  /></a></li>
            </ul>
        </div>
        <div id="header">
            <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></a></h1><br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <table align="right" border="0">
                    <tbody><tr>
                        <td><script type="text/javascript">
    Vertical1240899 = false;
    ShowAdHereBanner1240899 = true;
    RepeatAll1240899 = false;
    NoFollowAll1240899 = false;
    BannerStyles1240899 = new Array(
        "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
        "img{border:0;clear:right;}",
        "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
        "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
    );
    document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240899/1240899.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
    </script></td>
                    </tr>
    
                </tbody></table>
    
    
    
    
        </div>
        <!--/header -->
        <div id="nav1">
            <ul class="sf-menu sf-js-enabled"><li><a href="http://www.technobuzz.net/" title="Technobuzz.net">Home</a>
    </li>
    
    <?php wp_list_categories('include=143,33,172,6,12,71,128,20&title_li='); ?>
    
    
            </ul>
        </div>
        <!--/nav1-->
        <div id="columns">
    <center><form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="if(this.email.value=='Type Your Email'){return false;} else {window.open('http://feedburner.google.com/fb/a/mailverify?uri=Technobuzz', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true;};">
    <input type="hidden" value="Technobuzz" name="uri"/>
    <table width="901">
    <tbody><tr>
    
      <td bgcolor="#5eb7cb" width="400"> <div class="style1" align="center"><font size="2" color="#FFFFFF"><strong>Subscribe to Technobuzz.net. Now, 13200 members! </strong> </font></div></td>
      <td width="59"><div align="center"><strong>Name:</strong></div></td>
      <td width="111"><input name="name" value="Name" onfocus="if(this.value=='Name'){this.value=''};" onblur="if (this.value==''){this.value='Name'};" size="16" type="text"></td>
      <td width="44"><div align="center"><strong>Email:</strong></div></td>
      <td width="130"><input type="text" style="width:190px" name="email" value="Type Your Email" title="Enter Your Email Address Here" onfocus="if(this.value=='Type Your Email'){this.value=''};" onblur="if (this.value==''){this.value='Type Your Email'};" type="text" /><input type="hidden" value="Technobuzz" name="uri"/></td>
      <td width="129"><input name="submit" value="Join Now" type="submit"> </td>
    
    </tr>
    <tr>
      <td colspan="6" height="21">&nbsp;</td>
    </tr>
    </tbody></table>
    </form>
    
    
    </center>
    
    
            <div id="centercol">
    
    Code (markup):
     
    vatu, Mar 15, 2010 IP
  6. talktome

    talktome Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    <center><!-- banned code here --></center>

    Try adding that, replacing the banner code bit in the middle
     
    talktome, Mar 15, 2010 IP
  7. vatu

    vatu Active Member

    Messages:
    372
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #7
    It was working but, the nav bar drops down and header too, all messed up
     
    vatu, Mar 15, 2010 IP
  8. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    as i said above this

    
    <!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">
        <title><?php if (is_home()) { ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php } else { ?><?php wp_title($sep = ''); ?> - <?php bloginfo('name'); ?><?php } ?></title>
        <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
        <meta name="description" content="<?php bloginfo('description') ?>" />
    <meta name="tweetmeme-title" content="<?php wp_title(''); ?>" />
    
        <?php if(is_search()) { ?>
        <meta name="robots" content="noindex, nofollow" /> 
        <?php }?>
        <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/superfish.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'); ?>" />
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverintent.js"></script>
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
        <script type="text/javascript"> 
            $(document).ready(function(){ 
                $("ul.sf-menu").superfish({
                    autoArrows:  false,
                    delay:       400,                             // one second delay on mouseout 
                    animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
                    speed:       'fast',                          // faster animation speed 
                    autoArrows:  false,                           // disable generation of arrow mark-up 
                    dropShadows: false                            // disable drop shadows             
                    }); 
            });
        </script>
    
    
        <?php wp_head(); ?>
    
    </head>
    
    <body>
    
    <script type="text/javascript">
        var infolink_pid = 14841;
        var infolink_wsid = 2;
    </script>
    <script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>
    
    [COLOR="Blue"]here you have to add the banner ad[/COLOR]
    [COLOR="Red"]
    <div id="page">[/COLOR]
    
    
    
        <div class="topnav">
    
            <ul>
                <li class="first"><a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>">Home</a></li>
                <?php wp_list_pages('title_li='); ?>
            </ul>
            <ul class="fr">
                <li class="first"><a href="http://feeds2.feedburner.com/Technobuzz" title="Subscribe To Our Posts RSS Feed" target="_blank">Posts</a></li>
                <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="Subscribe To Our Comments RSS Feed" target="_blank">Comments</a></li>
                <li><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=797132" title="Subscribe To Receive Email Updates" target="_blank">E-mail</a></li>
                <li><a href="http://feeds2.feedburner.com/Technobuzz" title="Subscribe To Our Posts RSS Feed"target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/ico-rss.gif" alt="RSS Feeds" /></a></li>
    <li><a target="_blank" href="http://twitter.com/Raj_R"><img src="http://www.technobuzz.net/wp-content/themes/revolution_city-10/images/twitter_16.png" alt="Follow via Twitter" title="Follow via Twitter" /></a></li>
    <li><a target="_blank" href="http://www.facebook.com/pages/Technobuzznet-Fan-Club/339609931379"><img src="http://www.technobuzz.net/wp-content/themes/revolution_city-10/images/facebook.png" alt="Follow via Facebook" title="Follow via Facebook" /></a></li>
    <li><a target="_blank" href="http://friendfeed.com/technobuzz"><img src="http://www.technobuzz.net/wp-content/themes/revolution_city-10/images/friendfeed_16.png" alt="Follow via FreiendFFeed" title="Follow via FriendFeed"  /></a></li>
            </ul>
        </div>
        <div id="header">
            <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></a></h1><br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <table align="right" border="0">
                    <tbody><tr>
                        <td><script type="text/javascript">
    Vertical1240899 = false;
    ShowAdHereBanner1240899 = true;
    RepeatAll1240899 = false;
    NoFollowAll1240899 = false;
    BannerStyles1240899 = new Array(
        "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
        "img{border:0;clear:right;}",
        "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
        "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
    );
    document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240899/1240899.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
    </script></td>
                    </tr>
    
                </tbody></table>
    
    
    
    
        </div>
        <!--/header -->
        <div id="nav1">
            <ul class="sf-menu sf-js-enabled"><li><a href="http://www.technobuzz.net/" title="Technobuzz.net">Home</a>
    </li>
    
    <?php wp_list_categories('include=143,33,172,6,12,71,128,20&title_li='); ?>
    
    
            </ul>
        </div>
        <!--/nav1-->
        <div id="columns">
    <center><form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="if(this.email.value=='Type Your Email'){return false;} else {window.open('http://feedburner.google.com/fb/a/mailverify?uri=Technobuzz', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true;};">
    <input type="hidden" value="Technobuzz" name="uri"/>
    <table width="901">
    <tbody><tr>
    
      <td bgcolor="#5eb7cb" width="400"> <div class="style1" align="center"><font size="2" color="#FFFFFF"><strong>Subscribe to Technobuzz.net. Now, 13200 members! </strong> </font></div></td>
      <td width="59"><div align="center"><strong>Name:</strong></div></td>
      <td width="111"><input name="name" value="Name" onfocus="if(this.value=='Name'){this.value=''};" onblur="if (this.value==''){this.value='Name'};" size="16" type="text"></td>
      <td width="44"><div align="center"><strong>Email:</strong></div></td>
      <td width="130"><input type="text" style="width:190px" name="email" value="Type Your Email" title="Enter Your Email Address Here" onfocus="if(this.value=='Type Your Email'){this.value=''};" onblur="if (this.value==''){this.value='Type Your Email'};" type="text" /><input type="hidden" value="Technobuzz" name="uri"/></td>
      <td width="129"><input name="submit" value="Join Now" type="submit"> </td>
    
    </tr>
    <tr>
      <td colspan="6" height="21">&nbsp;</td>
    </tr>
    </tbody></table>
    </form>
    
    
    </center>
    
    
            <div id="centercol">
    Code (markup):
     
    Wp-Mod.Com, Mar 16, 2010 IP
  9. vatu

    vatu Active Member

    Messages:
    372
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #9


    It Doesn't work, check the screenshot below:

    http://i39.tinypic.com/20sj9dc.jpg
     
    vatu, Mar 16, 2010 IP