I am using the Twitter widget from Twitter itself.
You can download it at http://twitter.com/about/resources/widgets/widget_profile
Now i get this code:
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 180,
height: 320,
theme: {
shell: {
background: '#6e6e6e',
color: '#ffffff'
},
tweets: {
background: '#fefefe',
color: '#545454',
links: '#b05c5c'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('SchmidtGlobal').start();
</script>
When I embed this in my website I get my logo at the top left side.
Is there any possibility to get this out?
It’s refereing to this script: http://widgets.twimg.com/j/2/widget.js
Any help would be appreciated.
Thanks
In the full source the location of the logo is defined here:
and embedded in HTML here:
So you should just drop that part and you’re done.
That said, I wonder if this isn’t against the license agreement.
UPDATE: Above method indeed removes the Twitter logo, as the OP suspected, but it is not that difficult to remove the profile image. A look at the resulting widget (using ‘Test Settings’) shows me that the image’s markup is
so it’s just a matter of finding code that sets class
twtr-profile-img-anchorin the source code. And look, it’s there:I highly suspect that removing the line that calls
setProfileImagewill suffice:The only thing you’ll notice is that the header will now be too far to the right. You’ll have to override this CSS rule: