Jump to content

Resizing embedded code block for mobile display!

Recommended Posts

Hi There,

I am looking for some guidance on how to make my code block with an embedded smartsheets form responsive to mobile display.

As seen in the image below it is causing it to be the same size as web display.

I have tried to add css with the block id as below with no luck:

@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1611768057164_13459 iframe {
    width: 100% !important;
    height: auto;
}
}

Any help on this would be greatly appreciated! 

 

image.png

Link to comment
  • Replies 1
  • Views 153
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

16 hours ago, FPzak said:

Hi There,

I am looking for some guidance on how to make my code block with an embedded smartsheets form responsive to mobile display.

As seen in the image below it is causing it to be the same size as web display.

I have tried to add css with the block id as below with no luck:

@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1611768057164_13459 iframe {
    width: 100% !important;
    height: auto;
}
}

Any help on this would be greatly appreciated! 

 

image.png

Can you share your site with the protected password so I can take a look?

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.