Jump to content

Embed Google Doc with dynamic sizing (or at least no scroll bars)

Recommended Posts

Hi all,

I would like to embed a Google Doc onto the site. However, when I do, the sizing of the embed frame is standard (small) and has vertical sliders. I could use custom CSS to set a custom height and width, but the document changes every week and may be longer or shorter. How do I add a Google Doc onto the site in its full size without cropping or extra white space? Also, the site admin will be handed over eventually to users who do not know CSS, so simplicity in embedding would be preferable.

 

Kindly,
Bryn

Link to comment
  • 2 weeks later...

Hi Tuan,

Here is the example I am currently using. The "Rosters" folder cannot be clicked. I would like it to be clickable to go to a contents page. I was hoping not to need to use injections either as they require a business plan, but am open to whatever solution is available. 

Kindly,
Bryn

P.S. As for the site link, I have sent you a personal email.

image.png.92aa2b826f70cfe63a0fb901ba9b0fce.png

Link to comment
  • 1 year later...
19 hours ago, therisejourney said:

Would love to hear about the results - looking to embed some google docs into blog posts and would love for it to use dynamic sizing!

Can you share link to a post where you added Google Docs? We can take a look

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
On 3/17/2021 at 9:56 AM, BGilbertson said:

Hi Tuan,

Here is the example I am currently using. The "Rosters" folder cannot be clicked. I would like it to be clickable to go to a contents page. I was hoping not to need to use injections either as they require a business plan, but am open to whatever solution is available. 

Kindly,
Bryn

P.S. As for the site link, I have sent you a personal email.

image.png.92aa2b826f70cfe63a0fb901ba9b0fce.png

Missing your question. If you still need help, just comment below, we can give the code

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
19 hours ago, therisejourney said:

@tuanphan https://www.risewithophr.com/ophr-tier-1-templates-worksheets-presentations/blog-post-title-one-zs878 - ideally would like everything centered and to not have scrolling, but just show the whole doc as you scroll down squarespace1

Try adding to Design > Custom CSS

@media screen and (min-width:768px) {
div#block-yui_3_17_2_1_1664290343213_3729 iframe {
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    height: 3800px;
}
}
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1664290343213_3729 iframe {
    position: static !important;
    width: 100% !important;
    transform: unset !important;
    height: 10000px !Important;
}
}

 

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
On 10/11/2022 at 11:21 PM, therisejourney said:

Thank you! This is what it did. Got everything centered but not responsive/standard page width and endlessly long. I think we're ok having scrolling up and down just not side to side.  Thoughts? (AND THANK YOU FOR THE HELP!) https://www.risewithophr.com/test/blogpost1

Hi,

Form is fine. You mean it overlap footer?

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.