Jump to content

How to resize embed code block for Twitter

Recommended Posts

Hi. I just used an embed code block to display my twitter feed. However it stretches way too far down the page. I tried dragging the bottom of the block up in the editor but it makes no difference. I'm trying to figure out how to shorten the depth of the block so it only shows 2 or 3 tweets instead of 20. Thanks!

Link to comment
  • Replies 8
  • Views 2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 5/8/2023 at 1:09 PM, hrx26 said:

Hello! I have the same problem as well! 

https://www.fantasy-animation.org/ this is the website link, and the twitter feed is stretched too long.

Hi,

Add to Design > Custom CSS

iframe#twitter-widget-0 {
    max-height: 300px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 month later...
13 hours ago, JJlmlip said:

Hi Tuanphan, 

 

I'm fairly new to using Squarspace. I added the code and it helped reducing the size of the feed. Is there a way to add a scrolling bar so people can go scroll through the tweets? Here's the link to the website: https://www.1000actsofwelcome.ca/

"Scrolling bar" - Do you have an example?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 months later...
On 9/29/2023 at 2:12 AM, BenjaminLeffel said:

@tuanphan I tried the Design > Custom CSS code you mentioned but it doesn't work. My website is benleffel.com and my twitter is on the right side near the top of the page, and it too stretches way too far, but I can't get the code to work. Maybe I'm doing it wrong. I attach a pic of my attempt. Help? 

pic.png

You mean this Twitter?

image.png.e8468144466441c4db68a293a8e1bbac.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.