Skip to main content
All CollectionsTroubleshootingBenefits Check Widget
How to Adjust the Height of Your Benefits Check Widget
How to Adjust the Height of Your Benefits Check Widget

Learn how to change the height of the embedded benefits check widget (e.g. to remove scrollbars) on your website.

Updated over a month ago

The HTML code for the benefits check widget should be plug-and-play on most websites. However, sometimes the height of the rendered iframe window might be too short for the form, causing a scrollbar to appear inside the widget.

To resize the window on your site:

1. Search in the widget code for this snippet: this.clientWidth >= 600

Image of the instructions on the website with the relevant piece of code highlighted.

2. Tweak the numbers after the question mark to best suit your website layout.

  • The first number (350 for solo practices, 430 for group practices) sets the window height in pixels when the widget is wide enough to display multiple text boxes in a row.

  • The second number (590 for solo practices, 750 for group practices) sets the window height for narrower pages, where the text boxes stack vertically—this is common on mobile browsers.

Do not change the 600 value, as that controls the width at which the widget switches between the two heights.

Did this answer your question?