Wordpress Site always defaults to middle of Page

Please when you visit my site, it defaults to the middle of the page instead of the header. anyboy with an idea of what is going on?

http://employmentclinic.net/

Hi,

This doesn’t seem to be a css issue as such but I think the problem is that this iframe is causing the page to scroll to the iframe.


	<iframe src="https://docs.google.com/file/d/0B77nbFQvHyu3cmswanhRelZPSXM/preview" width="300" height="250"></iframe>

If you remove that iframe then the page doesn’t scroll.

You could try adding a script in the head of the page to force the issue.

e…g.


<script type="text/javascript">
onload=function(){location.href="#";}
</script>

However I don’t think that’s a best practice so I’ll move the thread to the js forum for a better answer.

Hello,

Thanks a lot for the quick response, i’m primarily a designer, so my knowledge of PHP is very VERY limited, im at a loss here, its a wordpress theme and i’m wondering if its a plugin that caused it.

Please let me know.

Hi,

I know nothing of wordpress so can’t help you with theme control I’m afraid but I assume its this “wellthemes_video_widget-2” module that is causing the problem.


<aside id="wellthemes_video_widget-2" class="widget widget_video">
		<div class="widget-title">
				<div class="icon"></div>
				<h4>Featured Video</h4>
		</div>
		<div class="embed">
				<iframe src="https://docs.google.com/file/d/0B77nbFQvHyu3cmswanhRelZPSXM/preview" width="300" height="250"></iframe>
		</div>
</aside>

Its the embedded iframe that is causing the problem and if you simply load than iframe on any html page it causes the page to scroll to the iframe.