• Resolved mattiebo123

    (@mattiebo123)


    I’m having some pretty annoying problems with flash embedding in WordPress. I suspect it is something to do with the theme I’m using, but after spending a few hours searching the internet for answers, I have no idea what to look for.

    The problem can be seen over at CookingWithGrenades.com, where the flash-based advert in the sidebar is messed up. The box that contains the ad is the correct size (300x250px) but only a portion of the ad is actually being shown. In Firefox you can see 300x200px of the ad and in Chrome you can see even less.

    This problem is also present with other ad sizes. A 728x90px ad has a height of 200px and a 160x90px ad has a height of 100px. YouTube videos embedded using the old embed code also have a problem where they show up as half the size they’re supposed to be. This is less of a problem as I don’t use the old embed code, but I thought I’d mention it in case it’s relevent.

    You can see the 728x90px ad here and the 160x90px ad here.

    Any help at all would be very welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you remove all styles the black bar goes away.

    Try
    deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). If you can’t get into your admin dashboard, try resetting the plugins folder by FTP or PhpMyAdmin (read “How to deactivate all plugins when you can’t log in to wp-admin” if you need help). Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.

    Try
    switching to the Twenty Twelve or Twenty Thirteen theme to rule out any theme-specific problems. If you can’t log in to change themes, you can remove the theme folders via FTP so the only one is twentythirteen. That will force your site to use it.

    Thread Starter mattiebo123

    (@mattiebo123)

    Thanks for replying. I’ve found that the issue is not related to any plugins but is related to the theme. Specifically, it’s related to the style.css stylesheet. I’ve tried searching the file for a few terms and numbers that I feel are related but I haven’t had any luck so far. If anyone knows exactly what I should be looking for, that would be very helpful.

    The theme I’m using is Greenchili, in case anyone would like to read through the raw file.

    Thread Starter mattiebo123

    (@mattiebo123)

    I’ve now fixed this by removing the {height : auto} line in the css referring to video embedding.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Flash ads have black bars’ is closed to new replies.