Responsive Twitter Feed

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
User avatar
Starb7
 
 
Posts: 294
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Responsive Twitter Feed

Post by Starb7 »

Hi All

I am struggling to make a Twitter Feed work Responsive. Is there an option to make the content dynamically change ie, the twitter 'width' element so that it views OK on desktop and mobile without having to have two separate html objects in different breakpoints?

TIA
User avatar
wwonderfull
 
 
Posts: 1566
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Responsive Twitter Feed

Post by wwonderfull »

Can we have a demo project or a link to see your result if possible.
User avatar
Starb7
 
 
Posts: 294
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: Responsive Twitter Feed

Post by Starb7 »

Hi wwonderfull

Not really as I have limited the width to suit a mobile device, ie kept the twitter feed to under 480 px wide.

If you create twitter feed within a html box that you set on desktop size page, if that page is then viewed on a device that is smaller than the defined twitter feed, ie that given by twitters create feed tool (which you can edit), the twitter box width expands beyond that of the mobile page and the overflow is lost.

I could probably make a demo page but it's generic in the html object. Just wondered if there was a way to pass a variable into the html code :)

Cheers

Paul
User avatar
Pablo
 
Posts: 23249
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Responsive Twitter Feed

Post by Pablo »

Usually, the solution is to make the code you are inserting, responsive.
For example, by using percentages instead of fixed sizes.
User avatar
Starb7
 
 
Posts: 294
Joined: Tue Sep 05, 2006 12:35 pm
Location: Derbyshire

Re: Responsive Twitter Feed

Post by Starb7 »

Hi Pablo

Hmm, not thought of that. Twitter just offers you a fixed width but I can see that a tweak should work in the html script they provide.

Thanks for the pointer, I'll let you know how I get on.

Cheers
Post Reply