Forum

Thread tagged as: Question

Twitter app too wide when using javascript

Hi,

Is there any way to manipulate the width of the twitter app whilst using the javascript widget? It currently renders it at 500px wide, whereas I just want to fill the available space.

Thanks in advance

Grant Smith

Grant Smith 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you mean in the HTML that the Twitter API returns?

Yes, the javascript renders a bunch of code, within this, it has the width at 500px. I can't see any way of editing this.

Drew McLellan

Drew McLellan 2638 points
Perch Support

No I'm not sure there is a way. That's just the standard HTML they return.

Thought as much, even checked the twitter api for settings, but there are no controls for this type of thing.

Thanks anyway

Have you tried twitter publish? Link

I've used this in the past and in the 'set customization options' area you can set the width and it will accept 100%

Thanks Wayne, that looks great