Streaming live at 10am (PST)

Big Bold Twitter Feed


#1

Anybody know the best way in implementing a big bold twitter feed on your webflow site, preferably in a parallax image section?

It would look something like this:

at the very least, something similar to this sites social boxes (instagram, twitter): chanceraps.com

Thanks!


Twitter Feed Not Showing Up
#2

Hi @Dreamvinci, Webflow gives you the capability to embed a twitter feed, but the styling, you should read up on, from Twitters documentation page:

https://dev.twitter.com/docs/embedded-timelines

This will give you more information on how to style your twiter feed embeds. I hope that helps. Cheers, Dave


#3

Awesome dave! Totally helped, didn't even know twitter had this documentation on styling.


#4

I wonder how much a custom WordPress website costs nowadays?


#5

depends on the quality you're looking for.


#6

What's the low end? I know some sites that cost > $200k USD, but wondering what normal people pay.


#7

Depends on the size. From simple portfolio based on Wordpress it's around $800 - $1500. Better sites push their value up.


#8

@bartekkustra Hey Bartosz. Do you know if I can use the Twitter embedded timelines and styling to create a rotating "Recent tweets" widgets and style it like the attached screenshot

From the footer here: https://www.mota.com/mota-credit-card-power-bank/

Any inputs is greatly appreciated smile


#9

Hi @cyberdave so where exactly do i place the css provided by twitter in webflow?


#10

Hi @Nir, thanks for your question. You can put that CSS inside the Head section that is located on the Custom Code tab in Site Settings.

You take the css that is coming from Twitter, and wrap the css with the <style> tag like so:

<style>

.. twitter css classes you want to customize goes here

</style>

Here is an article on adding custom code to your site:

http://help.webflow.com/site-settings/custom-code

I hope that helps, if not, let me know and I am happy to help further smile

Cheers, Dave


#11

Thank you @cyberdave. Something is not working though, i used the embed code directly from Twitter, embedded, and then added the css provided by Twitter and wrapped it with the style code you wrote here.
However, nothing happened... am i missing something i should have done? will some photos or the code example help?

The other issue is that i want only the latest tweet to show, and update when a new tweet is posted, but Twitter don't have that option. I only found references to WordPress when i searched.

Thank you for the help!


#12

Hi @Nir, sorry for the late reply. Could you post the read-only link to your site, I am happy to take a look.

More information about read-only links:

http://help.webflow.com/general/guidelines#how-do-i-share-my-sites-read-only-link


#13

Hi @cyberdave sorry for re awakening the old subject but i need your help.

Iv managed to embed the twitter timeline and set it to show the latest tweet only.

So iv used this code on the embed -

<a class="twitter-timeline"
  href="https://twitter.com/pennybluesg"
  data-widget-id="577758991415001088"
  data-theme="dark"
  data-link-color="#cc6868"
  data-chrome="noborders noheader nofooter transparent"
  data-related="twitterapi,twitter"
  data-tweet-limit="1"
  data-aria-polite="assertive"
  width="100%"
  height="auto">
Tweets by @pennybluesg
</a>

and then i placed this code at the body Footer Code -

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

So far so good, but now i want to style the text fonts size and colors so i have this CSS for embedded timelines from twitter -

a.twitter-timeline {
  /* Buttonish */
  display: inline-block;
  padding: 6px 12px 6px 30px;
  margin: 10px 0;
  border: #ccc solid 1px;
  border-radius: 3px;
  background: #f8f8f8 url(//platform.twitter.com/images/bird.png) 8px 8px no-repeat;
 
  /* Text */
  font: normal 12px/18px Helvetica, Arial, sans-serif;
  color: #333;
  white-space: nowrap;
}
 
a.twitter-timeline:hover,
a.twitter-timeline:focus {
  background-color: #dedede;
}
 
/* Color Highlight for keyboard navigation */
 
a.twitter-timeline:focus {
  outline: none;
  border-color: #0089cb;
}

However the styling is not working.
What am i doing wrong?
Iv wrapped the CSS with the style tag -

<style>

.. twitter css classes you want to customize goes here

</style>

But its not doing anything.


#14

Hi @Nir, I am happy to take a look. Could you please share the published url for the page where the css is not working? Cheers, Dave


#15

Hi @cyberdave

here's the link

https://preview.webflow.com/preview/twitter-test?preview=53fabb3e150f351e719752fd1efbee92


#16

I forgot to add the live site link.

http://twitter-test.webflow.com/


#17

Hi @Nir, thanks for your update. I did take a look at the site, but there is no CSS yet in the header of your site. I see you have the script in the footer, and that is fine smile Could you add the css wrapped in the style tag in the header and republish the site, so I can view the site with the custom css? Cheers, Dave smile

The instructions at Twitter https://dev.twitter.com/docs/embedded-timelines actually define how to alter the appearance using their built in customization options using attributes in the embed widget. The css is coming at runtime from twitter, so it is overwriting the style put in the head (I think that is what is happening). You might be limited to Twitters built in customization options, but I will continue to look at this.


#18

Hi @cyberdave thank you for your reply.
Iv added the code to the header.

<style>a.twitter-timeline { /* Buttonish */ display: inline-block; padding: 6px 12px 6px 30px; margin: 10px 0; border: #ccc solid 1px; border-radius: 3px; background: #f8f8f8 url(//platform.twitter.com/images/bird.png) 8px 8px no-repeat; /* Text */ font: normal 50px/18px Helvetica, Arial, sans-serif; color: #333; white-space: nowrap; } a.twitter-timeline:hover, a.twitter-timeline:focus { background-color: #dedede; } /* Color Highlight for keyboard navigation */ a.twitter-timeline:focus { outline: none; border-color: #0089cb; }</style>

Made the text size bigger to see if there's any change. and the is at the beginning as the page loads, but then it goes back to normal.


#19

Hi @nir, thanks, could you also copy and save the embed code you have to somewhere as a backup, and then replace that embed code with the following:

<a class="twitter-timeline"
  href="https://twitter.com/pennybluesg"
  data-widget-id="577758991415001088"
  data-chrome="noborders noheader nofooter transparent"
  data-related="twitterapi,twitter"
  data-tweet-limit="1"
  data-aria-polite="assertive"
  width="100%"
  height="auto">
Tweets by @pennybluesg
</a>

This above is the embed without the theme styling. Could you save this and republish your site? I would like to see if there is any effect now that you have put in the CSS and a call to twitter, without calling the dark theme.


#20

Hi @cyberdave changes made.

Do i need to add an attribute for the embed?