• Good morning,
    I have a question about this great wordpress theme.
    Everything is working fine, but i just want to add a banner on header, it will be adsense code.

    So i want just simply to allign it on the right. Just after the logo, so that space will not be without nothing.

    Here is an example of what i am trying to do http://s23.postimg.org/dauky6wax/Capture.jpg

    Thanks for the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there!

    In order to do this you first need to create a child theme. You can find instructions here.

    Next, copy the header.php file from the parent theme into the child theme folder.

    When you have done that you can add in your adsense code in the header.php file around line 60 before the <hgroup> tag.

    Make sure to give your adsense code a class and then you can change the layout using CSS. For example:

    .myadsense-code {
    float: right;
    margin-right: 20px;
    }

    I hope that helps!

    Luke the Daft Duke

    Thread Starter photographeritaly

    (@photographeritaly)

    Thanks a lot for your reply.

    This seems to be a difficult to follow for a newbie 🙁

    There is not an option to change something directly on the header.php file so to have this working? Without install this things with chilt themes, please let me know thanks a lot.

    I can’t think of a simpler solution I’m afraid, not if you want it in the header.

    If you were willing to go with another location for it you could try this plugin: Google AdSense

    🙂

    I just added the adsence how you describe above and it works great until I add a logo, then the adsense disappears.

    How can I use a logo and teh adsense code.

    http://www.copingwithdivorceinfo.com

    Thanks!

    Scott

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add banner on header’ is closed to new replies.