Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Too much space over header (http://forum.bytesforall.com/showthread.php?t=8970)

jweishaar Aug 16, 2010 04:32 PM

[SOLVED] Too much space over header
 
Hello. My URL is http://newhorizons123.com. My site was working fine until I added Google Analytics Code. I put the code in HTML Inserts: Body Bottom. Once I added the code, the entire body of the site moved down leaving a large blank black space over the header. I tried removing the code yet that space is still there (I did refresh my browser). I haven't made any other changes to my site. Can you take a look at it and let me know if you can tell what I did to make this huge space appear?

The tracking code I added is:

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11800643-3']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

Thank you!

Velma Aug 16, 2010 04:56 PM

What about using a plugin instead?

http://wordpress.org/extend/plugins/...for-wordpress/

(never used this...just googled for it)

That way you don't have to mess with figuring out where to put the code. :)

Warmly,

Velma

jweishaar Aug 16, 2010 06:00 PM

Thanks Velma, I could certainly do that except for the fact that even when I remove the code and refresh the page, the space is still there. Can you or someone else look at http://newhorizons123.com and see if you can figure out why that space is there over the header? I must have inadvertently changed another setting. I am really at a loss and need help.

Thank you in advance.

jweishaar Aug 16, 2010 06:08 PM

Never mind - got it. :)


All times are GMT -6. The time now is 10:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.