Page 1 of 1

Add Twitter Full Length Middle Block

Posted: 30. September 2014 21:19
by Vampire77
Your Portal Version: 2.0.2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.homelessaustralia.com

What have you done before the problem was there?


What have you already tryed to solve the problem?
Searched Forums, but nothing specific to this.

Description and Message
I have created a Widget in Twitter to add to the middle block. However it does not go full length. And is too high in height.

The code I was given by twitter is:

<a class="twitter-timeline" href="https://twitter.com/HomelessOz" data-widget-id="517030282558312448">Tweets by @HomelessOz</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Thanks for any help with this.

Re: Add Twitter Full Length Middle Block

Posted: 1. October 2014 09:00
by Kirk
Hi
I have installed your widget for Twitter, can not find any fault.
Image

Re: Add Twitter Full Length Middle Block

Posted: 1. October 2014 10:57
by Vampire77
I have it viewing as the same, but isn't there a way to make it show over the inter middle part instead of just to the left.

Image

Re: Add Twitter Full Length Middle Block

Posted: 1. October 2014 15:05
by Kirk
The width is set by Twitter and can not be changed.

Re: Add Twitter Full Length Middle Block

Posted: 25. February 2015 06:10
by kradsith
To change the size add a style in front of your code in your custom block.

Code: Select all

<style> .twitter-timeline { width: 150px; height: 300px; }</style><a class="twitter-timeline"...