Jump to content

Help with iFrame padding

Go to solution Solved by Beyondspace,

Recommended Posts

Hello - I recently implemented a booking widget code (iframe) for clients to book directly through my client software, but I'm having some trouble with the appearance.

I *think* what I want is for some extra padding on the left (see image), or whatever the fix is to give more white space between the left edge, and the text/calendar dates. 

I've fiddled around with a lot of CSS and iframe, based on articles and forum information, but anything that adds padding to the left, pushes the text to the left edge, still.  So maybe this means it does not need padding, but rather a different alignment?

Please help!

Website is public: http://hilarybeckwith.com/inside-out

 

Screen Shot 2023-01-08 at 3.30.44 PM.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
Posted (edited)
17 minutes ago, hilaryb said:

Hello - I recently implemented a booking widget code (iframe) for clients to book directly through my client software, but I'm having some trouble with the appearance.

I *think* what I want is for some extra padding on the left (see image), or whatever the fix is to give more white space between the left edge, and the text/calendar dates. 

I've fiddled around with a lot of CSS and iframe, based on articles and forum information, but anything that adds padding to the left, pushes the text to the left edge, still.  So maybe this means it does not need padding, but rather a different alignment?

Please help!

Website is public: http://hilarybeckwith.com/inside-out

 

Screen Shot 2023-01-08 at 3.30.44 PM.png

You can try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1665094218540_4516 iframe {
  border: 20px solid #fff !important;
  box-sizing: border-box;
}

Support me by pressing 👍  or marking as solution if this useful for you

Edited by Beyondspace

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

My testing

image.png.9fe9e78c666fc1a9c889dff806923dfe.png

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
1 hour ago, Beyondspace said:

You can try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1665094218540_4516 iframe {
  border: 20px solid #fff !important;
  box-sizing: border-box;
}

Support me by pressing 👍  or marking as solution if this useful for you

That did the trick, 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.