• Resolved perryhua

    (@perryhua)


    Hi my website has a blank space on the top left hand corner of the homepage. It only appears on Chrome but it’s bothering me. How do I get rid of it?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I don’t see anything out-of-order in your homepage in the latest Chrome on windows PC;

    can you provide a screenshot to illustrate the problem?

    Thread Starter perryhua

    (@perryhua)

    Thanks for replying. Maybe it’s a problem on my backend? I just want to validate. Here is the screenshot.

    there is some code in that area, just before the title:

    <div style="float:left; margin:0px 10px 10px 0px;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/" width="285" height="234"><param name="movie" value="http://www.youtube.com/v/" /><param name="autostart" value="true" /><param name="wmode" value="transparent" /></object><br /></div>

    this might be from a plugin (?)

    general troubleshooting:
    try to deactivate all plugins to see if that removes the space; if yes, reactivate one plugin at a time to locate the one which was causing the problem.

    Thread Starter perryhua

    (@perryhua)

    I just tested the plugins and it doesn’t seem to be from there. Is it possible to be caused by my themes functions? There’s a custom-video.php file with similar code as above.

    in page.php, there is this line:

    <?php t_show_video($post->ID); ?>

    which seems to cause the empty space.

    as you already found, this function is in /functions/custom-video.php

    possibly remove above line from page.php (unless you intend to have videos in static pages ?).

    Thread Starter perryhua

    (@perryhua)

    It worked! Thank you for the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Home Page Problem’ is closed to new replies.