Hello,
Is it possible to add a 728 x 90 ad banner to the right of my logo on my site (wpadviser.com)?
If so, how would I go about doing this?
Thanks,
Dan
Hey Dan!
Try adding this at the very end of your theme / child theme functions.php file:
function put_stuff_in_header() {
?>
<div class="banner"><img src="banner_url"></div>
<?php
}
add_action('ava_after_main_menu', 'put_stuff_in_header');
Cheers!
Josue
This worked but it put the banner partially under my logo. How do I control where the banner is placed? I would like it evenly placed between the right border of the theme and the logo and centered vertically as well.
Here is a link to my website: http://wpadviser.com
Thanks.
Hey!
I’m not seeing the banner being applied to the header.
Regards,
Josue
I removed it because of how it looked.
Hey!
Add it again, then reply back to this topic so we can help you with the styling.
Regards,
Josue
Sorry about that. I added it again.
Thanks.