Plugin: Advertising Manager] need help with banner ad on template header
-
Hey guys, i am a newbee and i need some help to add a google ad banner in my template header.
i want the ad banner to be at the same level that my logo but on the right side of my site. so far the ad display just beside the logo and i cant get the banner to be on the right side. (the logo is on the left side)
here is the code of my header without the ad code:
</head>
<body><div id=”page” class=”fix”>
<div id=”wrapper” class=”fix”>
<div id=”header” class=”fix”>
<?php if(get_option(‘custom-header’)):?>
“><img class=”headerimage” src=”<?php echo get_option(‘custom-header’);?>” alt=”<?php bloginfo(‘name’); ?>”/>
<?php else:?>
<h1 class=”blogtitle”>“><div class=”sheen”></div><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
<?php endif; ?>
</div><!– /header –>i added the following code in the header:
<td align=”right”><?php advman_ad(Header); ?></td>
when i put the ad code after
<?php endif; ?>
</div>before the “<!–/header code, the ad will display just beside the logo but will not go to the right side and stay beside the logo
i am sure it is a simple fix and this problem is due to the layout/ div tags but i have no knowledge on coding, i am learning as i go.
In addition, when i put the ad code any where before the
<?php endif; ?>
</div>the ad will not display at all.
thank you in advance for your assistance
- The topic ‘Plugin: Advertising Manager] need help with banner ad on template header’ is closed to new replies.