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
  • 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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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.