Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2187

    Hi,

    I would like to add a banner advert at the top right of my website (MostFish.com), below the search facility and to the right of the site logo. Can you tell me what code I should add and where abouts in the header.php file.

    Thanks

    C

    #37011

    I’m not entirely sure what code you should add, you’ll want to look around for banner plugins for WP most likely.

    http://wordpress.org/extend/plugins/search.php?q=banner&sort=

    To add to that spot you’ll want to look around the line that has this:

    <h2 class="logo ie6fix <?php echo $logoclass; ?>">/"><?php echo $logo; ?></h2>

    #37012

    Thanks Noah,

    I have inserted the code into the header.php on the next line to the one you suggested. However, could you take a look at MostFish.com and you’ll see that it has pushed the navigation bars and content down the page. Are you able to tell me how to stop this from happening and at the same time move the banner down below the search bar?

    This is the code I have in there at the moment:

    <h2 class="logo ie6fix <?php echo $logoclass; ?>"><a>/"><?php echo $logo; ?></a></h2>
    <div align="right"><script src='http://www.automatedtraffic.com/auto_ads/preview.php?project_id=#####' language='javascript' type='text/javascript'></script></div>

    Thanks for your help.

    Craig

    #37013

    Hey,

    please change the code you posted above with following:

    <h2 class="logo ie6fix <?php echo $logoclass; ?>"><a>/"><?php echo $logo; ?></a></h2>
    <div align="right" style="margin-top: 60px; float: right;"><script src='http://www.automatedtraffic.com/auto_ads/preview.php?project_id=#####' language='javascript' type='text/javascript'></script></div>

    #37014

    Hey Dude,

    Thanks buddy. That has helped but it has pushed the site logo down so it now covers the first navigation menu.

    See here: http://MostFish.com

    Any suggestions?

    Thanks again

    Craig

    #37015

    Ahhh its ok. I sorted it. Thanks :-)

    #37016

    so what wp banner plugin did you end up using ?

    There are so many and they each seem to do something differently

    I’m trying to add a banner in the same spot at http://www.yousouledout.com

    thanks

    #37017

    I got it sorted in case someone checks this. Resolved! I should give myself more credit than I do when it comes to this stuff.

    #37018

    Glad that you found a solution :)

    #37019

    Hey, so what banner plugin works, please share.

    #37020

    Yes, please share. I also need one. Txs

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Adding a Banner to the header file’ is closed to new replies.