How to get rid of large space after Amazon ad in a post??? PLEASEEEEE!!!! :(

Viewing 8 posts - 1 through 8 (of 8 total)
  • #15232
    BlissfulMiss
    Participant

    When I insert an amazon ad in my post, it creates several inches of space after. So far I only put them at the end of the post because of this, yet there’s still huge space between the ad and the comment section, etc. I’ve been asking around and not getting anywhere. I even asked Amazon directly and they said to ask in forums, which I already have. Can someone PLEASE help me???

    Here’s an example. Look for the ad at the bottom of the post.

    http://blissfulmiss.com/develop-good-habits/

    This is the code I have inserted.

    <iframe style=”width: 120px; height: 240px;” src=”http://rcm.amazon.com/e/cm?t=wwwjennifersu-20&o=1&p=8&l=as1&asins=B0092XNAF8&IS1=1&ref=qf_sp_asin_til&fc1=000000&lt1=_blank&m=amazon&lc1=3B7827&bc1=000000&bg1=FFFFFF&npa=1&f=ifr&#8221; height=”240″ width=”320″ frameborder=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no”></iframe>

    #15243
    Daniel Tara
    Keymaster

    It’s because of a conflict with the responsive videos script. You may add this code in custom styles as a quick fix but you may run into problems with embedded videos:

    .fluid-width-video-wrapper {
    	padding: 0 !important;
    }
    #15248
    BlissfulMiss
    Participant

    Thanks, Daniel. However that pushed my ad down into the “like this” area all jumbled with the icons and such down there.

    An moderator at wordpress.org gave me this code, which isn’t perfect either, but works the best so far.

    .fluid-width-video-wrapper {
    padding-top: 30% !important;
    } 'jquery' ), null );
    }

    With this code, my ad is kind of smashed into the “like this” area, but not nearly as bad as it was with your code. I don’t suppose you know a way to make it even better?

    Thank you!

    #15258
    Daniel Tara
    Keymaster

    What you can do is remove this line in functions.php:

    wp_enqueue_script( 'fitvids' );

    This will remove the responsive video script completely and it won’t interfere with the display of iframes.

    #15266
    BlissfulMiss
    Participant

    Thanks, Daniel. However, will that prevent me from inserting any videos in my posts?

    I’d also like to wrap my text around an ad, but I don’t seem to be able to and I figured it was for a similar reason. I just end up with white space to the left or right of my ad with my continuing text below the ad.

    However, I’m also new to entering code for this. I went by an article I found on the subject yesterday. http://www.moneymission.net/2011/08/wrapping-text-around-amazon-affiliate-links/

    It gives code to add to the CSS and then the code to include with your ad code. I’m not entirely sure I know where to include the code within the ad, but I think I did it right.

    Are you familiar with another theme very similar to Pinboard that doesn’t have these bugs? I really, really like how my site looks so if I change I want it to be pretty similar.

    #15270
    Daniel Tara
    Keymaster

    You’ll still be able to insert videos but they won’t be responsive.

    To wrap text around ads try adding the iframe the class alignleft or alignright, like this:

    <iframe class="alighleft" ...
    #15295
    BlissfulMiss
    Participant

    Thanks Daniel,

    I’m having issues, of course, wrapping text around my ad. I’m wondering if it’s another bug in the program. Again, this is all new to me so I’m not sure I’m doing it right, but I think I am.

    I typed <iframe class=”alignright”

    I inserted it in this code near the end.

    Initially, it showed the ad to the right, but text was not wrapped. I moved the ad and it defaulted back to the left. I have since tried a zillion things to get it back to the right, but it just won’t go. I tried removing the space before the code, the space after, both spaces, and placing it somewhere else entirely, deleting it entirely, updating the post and starting over. I don’t know why it went to the right the first time and never again, but even so, the text is not wrapping so it doesn’t much matter. I just wanted to know that I was at least entering the code correctly.

    At this point, if I’m not going to be able to wrap an ad in text, and if I’m not going to be able to have videos in my posts, then I will probably be forced to find another theme. I have already looked and would really like to just keep this one. Is there any chance this theme will be updated soon and these issues fixed? I have version 1.0.7. I had 1.0.8, but when the posts in my grid weren’t lining up properly, it was suggested I revert back to the previous version, which fixed my problem.

    So can you tell me A) did I insert the align right code properly and B) will there be an update to the theme soon that will allow me to insert ads without extra space below, wrap text and include videos?

    Also, if you are aware of another theme that is similar to this one I’d love to check it out.

    #15331
    Daniel Tara
    Keymaster

    The way you added the class seems correct. I see you removed the code from your website so I can’t figure out why it isn’t working.

    There are several themes similar to this one. Just search Google for “pinboard theme”, “pinterest theme” or “masonry theme” and you’ll find them. I haven’t tried any of them so I can’t make any recommendations.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.