Skip to main content
All CollectionsTroubleshootingBenefits Check Widget
Tweaking Benefits Check widget height
Tweaking Benefits Check widget height

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

Updated over a month ago

The HTML code for the benefits check widget should be plug-and-play on most websites, but in some cases the height of the rendered iframe window may be slightly smaller than the height of the displayed form, creating a scrollbar within the widget that may capture user input and make site navigation a bit annoying.

In order to resize the window on your site, you should 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.

The first number after the question mark (350 for solo practices, 430 for group practices) controls the height of the window (in pixels) when the widget is wide enough to show multiple text boxes per row. The second number (590 / 750) controls the height of the window on narrower pages where the text boxes have to be stacked on top of each other (this happens often in mobile browsers). You can tweak these two numbers to adjust the height of the widget to best suit your website layout.

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?