Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Eliminate suspicious spacing in Twitter Widget WordPress

  • SOLVED

Please reference the footer on this page: http://dev.qualityaudiovideo.com/

For some reason, the Twitter widget is being "pushed down" approximetely 40px or so with no explanation why. I would love to have this widget lined up with the other columns in the footer.

I placed the following code (generated from twitter.com/about/resources/widgets/widget_profile) into the Wordpress "Text Widget" which I then inserted into my "Footer Sidebar".


<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 3,
interval: 30000,
width: 190,
height: 240,
theme: {
shell: {
background: '#31302f',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#e6007b'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('goqav').start();
</script>

Answers (4)

2012-01-02

Arnav Joy answers:

did you placed your script under <p></p>???


Arnav Joy comments:

try placing this in your style

.twtr-widget{

top:-68px;
}


Arnav Joy comments:

your css is

http://dev.qualityaudiovideo.com/wp-content/themes/ovid/data/combined.css


rokfrd comments:

Can you clarify exactly where I should try to enter that code? I entered it directly into style.css and clicked update file but that did not work. Any other suggestions?


rokfrd comments:

No, directly into the text widget. But I suspect what you're referring to is likely causing the spacing.


Arnav Joy comments:

use this path

http://dev.qualityaudiovideo.com/wp-content/themes/ovid/data/combined.css

combined.css is the css where you should write this code

see the screenshot