Viewing 5 replies - 1 through 5 (of 5 total)
  • David Sullivan

    (@sullivandavid)

    Where you placed the ad code in the header, surround it with the code below where YOUR_CODE_HERE is the current code you use.

    <style type="text/css">
    #my_top_ad img { display: block; margin-left: auto; margin-right: auto; }
    </style>
    <div id="my_top_ad">
    YOUR_CODE_HERE
    </div>
    Thread Starter julieseatsandtreats

    (@julieseatsandtreats)

    When I insert my code into that the code shows up by my ad banner on my blog.

    David Sullivan

    (@sullivandavid)

    Looks like your ad provider doesn’t allow you to style the ads on your site. Maybe they allow styling in the setup of your ad account?

    Anyway, that IMG tag styling is how to get an image centered within an object with CSS.

    Thread Starter julieseatsandtreats

    (@julieseatsandtreats)

    It isn’t in the CSS it is in the Simple hooks plug in.

    WPyogi

    (@wpyogi)

    If this is the plugin, you need to ask on the plugin’s forum:

    http://wordpress.org/support/plugin/genesis-simple-hooks

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

The topic ‘Simple Hooks – Center Header ad’ is closed to new replies.