Jump to content

How to resize googlesheet embedded chart

Recommended Posts

Our site is still under construction but will paste the code here. The googlesheet chart embed looks fine in desktop but overextends in mobile. How can I make it automatically resized for mobile?

Thank you!

<iframe  width="600" height="371" seamless frameborder="0" scrolling="no" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRQPfsrj_F1rCo9TRlpkNO1wBabBD03Om3v0TU6LFssjR_s1oE991Sm4QmcpTIs9-gTGxDSI7c9L8gv/pubchart?oid=941461995&amp;format=interactive"></iframe>

1.JPG

2.JPG

Link to comment
1 hour ago, jm_tan87 said:

Our site is still under construction but will paste the code here. The googlesheet chart embed looks fine in desktop but overextends in mobile. How can I make it automatically resized for mobile?

Thank you!

<iframe  width="600" height="371" seamless frameborder="0" scrolling="no" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRQPfsrj_F1rCo9TRlpkNO1wBabBD03Om3v0TU6LFssjR_s1oE991Sm4QmcpTIs9-gTGxDSI7c9L8gv/pubchart?oid=941461995&amp;format=interactive"></iframe>

1.JPG

2.JPG

The chart image is fixed with width: 600px. Therefore, we can not to change it by custom Css.

image.thumb.png.30e4efd5037e5d7e64b6a1735d350b4c.png

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.