Jump to content

miraculousmillenial

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by miraculousmillenial

  1. Site URL: https://www.livenourishedandwell.com/connect-nourished-and-well

    Hi, I have added custom css for a boxborder around a code injected widget, and it looks good on the computer. However, the widget content is squished within the boxborder on mobile. I think I'd like to minimize the padding, or remove the boxborder altogether on mobile. I have tried messing with the widget code injection and also the boxborder code. Can anyone help? I'm guessing I need to add some kind of @media only CSS somewhere... Site is password protected, so adding pics and code info below. Thank you! 🙏

     

    in custom css I'm using:

    .boxBorder {
         border: 2px solid #f3efec;
         padding: 100px;
       }

     

    and here is the code I'm using for the widget:

    <div class="boxBorder"><!-- Practice Better Booking Widget: start -->
    <style>.better-inline-booking-widget{position:relative}.better-inline-booking-widget iframe{position:absolute;top:0;left:0;width:100%;height:100%}</style>
    <div class="better-inline-booking-widget" data-url="https://my.practicebetter.io/" data-form-request="6185dacd3980330f8c522a17" data-hash="5fc925d32a9c240774ac1b3e" data-theme="e3c6ba" style="max-width:800px;height:800px;"></div>
    <script type="text/javascript" src="https://my.practicebetter.io/assets/js/booking.widget.js"></script>
    <!-- Practice Better Booking Widget: end --></div>

    Screen Shot 2021-11-05 at 7.54.53 PM.png

    Screen Shot 2021-11-05 at 7.58.52 PM.png

×
×
  • 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.