justinfligstein Posted January 1, 2021 Posted January 1, 2021 Site URL: https://www.uncimpactinvesting.com/climate-reslience Hi! I tried to add a couple of google sheets documents following squarespace's directions, and simply copied and pasted the google sheet's code and added code to resize it. The sheets resized width-wise, but you still have to scroll to see the entire document, and I cannot seem to change the height no matter how much I play with it. Here is the code: <center><iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vSg2LHiteAfZE4-f3iEr8p3fb5v8QQPC7c-lF42nyA-2C6_AXp13HdKkri6dHMLbkfpbyUs51YjShiq/pubhtml?gid=742459073& height="6000px" width="100%"single=true&widget=true&headers=false"></iframe></center> Do I need to change the code or do I need to figure out how to resize the code block itself? Wishing I was a computer science major right about now... Thanks in advance!
tuanphan Posted January 1, 2021 Posted January 1, 2021 Add to Page Header <style> .code-block iframe { height: 700px; } </style> 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!)
justinfligstein Posted January 6, 2021 Author Posted January 6, 2021 That worked, thank you very much for your help.
tuanphan Posted January 7, 2021 Posted January 7, 2021 I see you haven't changed Page Title or SEO Title on this page, so the browser tab name still shows "General 3" https://www.uncimpactinvesting.com/resources 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!)
Guest Posted January 15, 2021 Posted January 15, 2021 Hi, Similar issue here, but mine is in a blog post format. When I attempt to add the code above to the Page Header, I am seeing no change. Any thoughts? URL: https://www.bootstrapfin.com/bank-budgeting/slices-in-your-budget Embeded code: <center><iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRRGmGJ56uyUlY8hnYkdA0sWUwp-ys8I20l8t5UWuHmokgeTJkwNdsLQdqRqSsQKqcoetNCZhZMImpL/pubhtml; height="100000px" width="100%"single=true&widget=true&headers=false"></iframe></center> Thanks, Luke
tuanphan Posted January 18, 2021 Posted January 18, 2021 On 1/15/2021 at 11:16 PM, LukeWhite said: Hi, Similar issue here, but mine is in a blog post format. When I attempt to add the code above to the Page Header, I am seeing no change. Any thoughts? URL: https://www.bootstrapfin.com/bank-budgeting/slices-in-your-budget Embeded code: <center><iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRRGmGJ56uyUlY8hnYkdA0sWUwp-ys8I20l8t5UWuHmokgeTJkwNdsLQdqRqSsQKqcoetNCZhZMImpL/pubhtml; height="100000px" width="100%"single=true&widget=true&headers=false"></iframe></center> Thanks, Luke The url doesn't exist. Can you check again? 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.