Skip to content
English
  • There are no suggestions because the search field is empty.

Widget Modifications and iFrames

How to add a widget to your website and/or make modifications to it. This is a very high level over view of iFrames and how they work, If you do not manage your website yourself, please hand this information on to you web developer.

Guide for widget modifications and iFrames

iFrames allow for you to surface the booking or gift card widget with in your own website. The widget only has a number of editable functions available, these are listed below;

In the Now Book It Admin console you can edit your over all Theme and Colour

 

Via your own website and in the iFrame you can edit the below

  1. Height and width
  2. Background colour of widget
  3. RGB colours

Changing Height and Width:

  1. To change the height and width of your iFrame, use the following format:
    • <iframe src="https://[ nowbookit widget link]" width="[WIDTH OF IFRAME]" height="[HEIGHT OF IFRAME]" style="border:none;"></iframe>

  1. Example code:
    • <iframe src="https://bookings.uat.nowbookit.com/?accountid=74b1a2df-61fa-4878-a472-5b0f172e556e&venueid=4603&theme=light&colors=hex,000000,b0120a" width="60%" height="730" frameborder="0"></iframe>
  2. Recommended iFrame Sizes:
    • Standard: 840 x 440

    • Tall: 840 x 560

    • Wide: 890 x 300 (not recommended if you need mobile responsiveness)

Changing Hex code of widget:

  1. To change the colour of your widget, update the Hex values at the end of your widget link, as shown below:
    • <iframe src="https://nowbookit widget linktheme=light&colors=[Insert Hex values here to adjust the widget colour]" width="100%" height="484" style="border:none;"></iframe>

  1. Example code:
    • <iframe src="https://bookings.uat.nowbookit.com/?accountid=74b1a2df-61fa-4878-a472-5b0f172e556e&venueid=4603&theme=light&colors=hex,000000,b0120a" width="60%" height="730" frameborder="0"></iframe> 

Changing background colour of widget:

  1. You can set the background colour of your widget to match your website theme using Hex codes. Backgrounds can also be made transparent to blend seamlessly with your website.
  2. Example:

Adding or Removing Scroll Bars

  1. If scroll bars are not appearing automatically, you may need to add the following attribute:
    • <iframe src="/default.asp" width="200" height="200" scrolling="Yes"></iframe>
  2. For automatic scroll bars only when needed:
    • <iframe src="/default.asp" width="200" height="200" scrolling="auto"></iframe>
  3. To remove scroll bars entirely, change the attribute to "No".

Related articles