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
  • Views 511
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

My testing

image.png.9fe9e78c666fc1a9c889dff806923dfe.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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.