Embedding a twitter feed with a Shortcode
-
When embedding a twitter feed with a Shortcode, can you customise its appearance? I would like to make the feed have no boarder, header, footer and scrollbar, and to make it transparent, like how you are able to customise a twitter feed used as a widget.
The blog I need help with is: (visible only to logged in users)
-
I believe you’re referring to this feed here:
If so, you can change the appearance of that area using some CSS. For example, the following code should remove the header, footer, and borders:
.timeline-header, .timeline-footer { display: none; } .customisable-border { border: none; }Can you try putting that under Appearance -> Customize -> CSS?
If you’re curious, we have some tips on finding the right CSS properties to achieve what you’re looking for here:
-
Hi Jeremey,
Thanks for your response.
I’ve tried as you’ve suggested, but to no avail as you can see here: https://connordnetto.files.wordpress.com/2015/03/screen-shot-2015-03-27-at-7-17-45-am.png
Where am I going wrong?
Thanks
-
It looks like you’re missing the periods in front of the selectors, which indicate they’re targeting a class. Can you try this exact code?
.timeline-header, .timeline-footer { display: none; } .customisable-border { border: none; } -
Unfortunately still no result…
https://connordnetto.files.wordpress.com/2015/03/image.jpg
https://connordnetto.files.wordpress.com/2015/03/image1.jpgIs there a way that I can at least make the feed fill the width of page? My aim to to make the feed feel as naturally integrated as possible.
-
Ah – completely missed this. The Twitter embed is served up through an iframe so I’m afraid we won’t be able to use CSS to customize the styling. Sorry for not noticing this sooner!
-
-
Is there another way to embed a Twitter feed?
My friend’s website seems to have achieved it, though using another website building client : http://frescosounds.com/
-
I’m afraid I don’t know of a way of achieve this. We support Twitter embeds as described here:
https://en.support.wordpress.com/twitter/twitter-embeds/
However, again, those are still served up through an iframe so that won’t get us anywhere. I’m sorry!
- The topic ‘Embedding a twitter feed with a Shortcode’ is closed to new replies.