Forums

Putting an Ad in the Header (10 posts)

  1. zpenacho
    Member
    Posted 7 months ago #

    How do I put a 720x90 to the right of my logo in the header? http://gta5onlineguide.com/
    Thanks!

  2. markparolisi
    Member
    Posted 7 months ago #

    You can either drop the <img> tag in your header.php file or what I would recommend is placing it as a widget up there. If your #header section isn't currently "widgetized" I'd suggest doing that.

    registering sidebars documentation

  3. zpenacho
    Member
    Posted 7 months ago #

    Thanks for the response Mark. I should've mentioned I'm using AdSense. What I'm trying to figure out is where to put the div.
    <div id="AdAboveHeader"><adsense code></div>

    Right now I have it in between the Site logo Div and the Site description Div. That didn't work though, it went to the top left of the header. I'm not quite sure how to widgetize it, but there is a Div after site description called Social Widget. I'm not sure what the Social Widget is..

  4. zpenacho
    Member
    Posted 7 months ago #

    I'm using iTheme2 from Themeify by the way...

    Got it to go to the right using: <span style="float:right">adsense stuff</span> and placing it after the logo Div in the header.php. The problem is, it still wants to stay at the top of the screen.

    How do I push it down? Thanks.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 7 months ago #

    You might be better off asking this question on the theme's dedicated forum: http://themify.me/forum/forum.php?id=18

  6. zpenacho
    Member
    Posted 7 months ago #

    As I said on my other post you wrote this on...their forum costs money and this problem is not theme specific, mentioning the theme simply makes it easier in-case someone is familiar with the theme.

    Is there such a thing a float: down or float: center?

  7. esmi
    Theme Diva & Forum Moderator
    Posted 7 months ago #

  8. zpenacho
    Member
    Posted 7 months ago #

    Nope, can't be done with a float. So what's the alternative?

  9. Adam
    Member
    Posted 6 months ago #

    Try putting

    margin-top: 50px;

    Or whatever after your

    float: right;

  10. techabsolute
    Member
    Posted 6 months ago #

    you can use plugin "Advertisement Management" to set ads on best places...

Reply

You must log in to post.

About this Topic

Tags