WordPress.org

Ready to get started?Download WordPress

Forums

Ads in header (3 posts)

  1. cruthas
    Member
    Posted 2 years ago #

    I am trying to put rotating ads in my header with no luck. I can get it under the logo, and above the logo but not next to it. I have tried datafeedr with no luck, it does the same thing...

    Website is: climberism.com

    [Mangled code moderated. Please post code snippets between backticks or use the code button.]

    Trying to put this code in there:

    <?php if (function_exists('dfrads')) { echo dfrads('5537092'); } ?>

  2. Just dropping code into your theme's PHP files isn't enough, you also have to modify the style sheet (style.css) to tell it where you need it to go once you have it in there.

    Just a guess, because I am not familiar with your theme, but you probably need to target the div that has the ads, and float it to the right. Another possibility is to add a widget area into the header of your theme, and then add your ad rotator as a widget from within the dashboard.

    Both solutions will require that you be comfortable writing in code; it will be difficult to find a cut and paste solution.

  3. cruthas
    Member
    Posted 2 years ago #

    It has been difficult finding a solution cutting and pasting

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.