Dreamvinci
(Dreamvinci)
September 4, 2014, 8:52pm
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!
cyberdave
(Dave S.)
September 5, 2014, 6:42am
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:
This will give you more information on how to style your twiter feed embeds. I hope that helps. Cheers, Dave
Dreamvinci
(Dreamvinci)
September 5, 2014, 10:28pm
3
Awesome dave! Totally helped, didn’t even know twitter had this documentation on styling.
brryant
(Bryant Chou)
September 5, 2014, 10:37pm
4
I wonder how much a custom WordPress website costs nowadays?
PixelGeek
(Nelson)
September 5, 2014, 10:38pm
5
depends on the quality you’re looking for.
brryant
(Bryant Chou)
September 5, 2014, 10:52pm
6
What’s the low end? I know some sites that cost > $200k USD, but wondering what normal people pay.
Depends on the size. From simple portfolio based on Wordpress it’s around $800 - $1500. Better sites push their value up.
asssmidt
(asssmidt)
October 13, 2014, 5:18pm
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
Nir
(Nir)
January 5, 2015, 10:14am
9
Hi @cyberdave so where exactly do i place the css provided by twitter in webflow?
cyberdave
(Dave S.)
January 6, 2015, 8:36am
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:
I hope that helps, if not, let me know and I am happy to help further
Cheers, Dave
Nir
(Nir)
January 12, 2015, 11:47am
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!
cyberdave
(Dave S.)
January 15, 2015, 10:14am
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:
Learn web design with free video courses and tutorials | Webflow University
Nir
(Nir)
March 17, 2015, 10:34am
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.
cyberdave
(Dave S.)
March 18, 2015, 11:00am
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
Nir
(Nir)
March 18, 2015, 11:52am
15
Nir
(Nir)
March 18, 2015, 12:15pm
16
I forgot to add the live site link.
http://twitter-test.webflow.com/
cyberdave
(Dave S.)
March 19, 2015, 4:09am
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 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
The instructions at Twitter Overview | Docs | Twitter Developer Platform 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.
Nir
(Nir)
March 19, 2015, 4:32am
18
cyberdave:
</style>
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.
cyberdave
(Dave S.)
March 19, 2015, 4:51am
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.
Nir
(Nir)
March 19, 2015, 4:58am
20
Hi @cyberdave changes made.
Do i need to add an attribute for the embed?
1 Like