Add Twitter Full Length Middle Block

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.

Topic author
Vampire77
Active Member
Active Member
Posts: 8
Joined: 23. September 2014 19:23

Add Twitter Full Length Middle Block

Post by Vampire77 » 30. September 2014 21:19

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.

User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1537
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Add Twitter Full Length Middle Block

Post by Kirk » 1. October 2014 09:00

Hi
I have installed your widget for Twitter, can not find any fault.
Image


Topic author
Vampire77
Active Member
Active Member
Posts: 8
Joined: 23. September 2014 19:23

Re: Add Twitter Full Length Middle Block

Post by Vampire77 » 1. October 2014 10:57

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

User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1537
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Add Twitter Full Length Middle Block

Post by Kirk » 1. October 2014 15:05

The width is set by Twitter and can not be changed.


kradsith
Active Member
Active Member
Posts: 1
Joined: 16. September 2014 16:48
phpBB.com User: kradsith

Re: Add Twitter Full Length Middle Block

Post by kradsith » 25. February 2015 07:10

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"...

Return to “Board3 Portal 2.0.x - English Support”