• Resolved artguy2020

    (@artguy2020)


    Help!
    I am new to WordPress and have no coding skills, despite that I was able to tweak my first blog template to my liking.
    My second blog is proving to be more difficult.
    I am using Chris Wallace’s Gallery template with redwall_hp’s WP125 plugin at http://www.riceburner.fm.
    As per WP125 instructions on unusual ad placement, I have cut and paste the ad code into my index page.
    As you can see on my blog, I need to align / add padding my ads on the bottom with my images / content on the top, also add borders to the ads as well.
    Any help would be greatly appreciated.
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Your site doesn’t seem to be loading for me. It just shows a default “Apache is working on your cPanel® and WHM™ Server” page.

    Thread Starter artguy2020

    (@artguy2020)

    I checked with my host, who says my website is up and running.
    The address that I posted incorporated the period at the end of the sentence, which sent you to the wrong page.
    Address is
    http://riceburner.fm/
    Thanks for getting back to me and for the plugin.

    It appears you’re using the single_ad template tag to add the ad slots in, correct?

    You want to add this to your CSS:

    .custom125ad {
    background-color:#191919;
    border:3px solid #191919;
    display:block;
    height:125px;
    overflow:hidden;
    position:relative;
    width:125px;
    }

    Then you want to take each of your instances of <?php wp125_single_ad(num); ?> and wrap them like this:

    <span class="custom125ad"><?php wp125_single_ad(num); ?></span>

    Thread Starter artguy2020

    (@artguy2020)

    It appears you’re using the single_ad template tag to add the ad slots in, correct?
    Correct.
    In case my original post here wasn’t clear, Ideally, I am trying to match the ads below with the content above, 4 rows of 7 images, then the post navigation, followed by a row of 7 ads. Is there a way to layout the ads horizontally with your custom125ad code?
    I added the custom125ad to my style.css and span class to my main index, results posted at my site.
    Thanks again for helping a new guy out.

    Here, replace the bit I posted earlier with this:

    .custom125ad {
    background-color:#191919;
    border:3px solid #191919;
    display:block;
    height:125px;
    overflow:hidden;
    position:relative;
    width:125px;
    float:left;
    margin:1px;
    }
    Thread Starter artguy2020

    (@artguy2020)

    Just what I had in mind!
    Many Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Gallery template with WP125, align images/content with ads’ is closed to new replies.